diff --git a/spawn.c b/spawn.c index 8303fac9..3c8cf07b 100644 --- a/spawn.c +++ b/spawn.c @@ -268,6 +268,7 @@ spawn_child_callback(gpointer user_data) sigemptyset(&empty); sigprocmask(SIG_SETMASK, &empty, NULL); + setsid(); } /** Spawn a command.