gst-env: Ignore SIGINT when using the fish shell
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 18 Dec 2019 20:44:30 +0000 (02:14 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 18 Dec 2019 20:44:30 +0000 (02:14 +0530)
commit675cec1ed2933faf23c40bfd6e6c069fe0fd6a4c
treea5baf60a1988e677b666acdc9cf7fa698577089d
parent4bf0504e2a1af0c55f5d930255fb57dc4eea9586
gst-env: Ignore SIGINT when using the fish shell

After discussion with fish upstream it looks like it will take some
work to fix this issue.

https://github.com/fish-shell/fish-shell/pull/6426#issuecomment-567174105

In the meantime, this only happens when there's no command running in
the terminal, and in that case the shell just ignores it anyway. So
just do that in `gst-env.py`.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-build/issues/18
gst-env.py