SIGINT is not delivered to processed launched from dmenu
Hello!
I've found strange behavior of processes launched from dmenu
.
Here are the steps to reproduce:
1. Launch sleep 1000000
using dmenu
. The key combination for dmenu
is Win-D
on my system. I believe Alt-D
is the default one.
2. Execute pgrep sleep
from shell to get a pid for process launched in step 1.
3. Execute kill -2 $(pgrep sleep)
.
4. Nothing happened. The sleep 1000000
process is still running.
kill -2
is working perfectly when I run sleep 1000000
process from shell.
What kind of magic is done by dmenu
to block SIGINT
from being delivered to processes? Is there any way to disable it?
PS. I'm using i3
metapackage of version 4.7.2-1
in Ubuntu 14.0.4.
Further investigation shows that dmenu
isn't guilty. I've created sleep-999999
script with sleep 999999 &
and put exec sleep-999999
on a hotkey in ~/.i3/config
. This setup reproduces strange behavior described formerly.