diff options
Diffstat (limited to 'src/hotkey.c')
-rw-r--r-- | src/hotkey.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hotkey.c b/src/hotkey.c index a37e27c..0677ae9 100644 --- a/src/hotkey.c +++ b/src/hotkey.c @@ -102,6 +102,7 @@ fork_and_exec(char *command) int cpid = fork(); if (cpid == 0) { + setsid(); char *exec[] = { shell, arg, command, NULL}; int status_code = execvp(exec[0], exec); exit(status_code); |