From 0dbd303d2c0d0cc411aa2791c1640452a8f407a9 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 7 Aug 2015 11:56:54 +0200 Subject: nq: launch job in own process group to simplify killing it all. --- nq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nq.c b/nq.c index 5c1ac74..bc12132 100644 --- a/nq.c +++ b/nq.c @@ -280,6 +280,7 @@ again: close(lockfd); setenv("NQJOBID", lockfile+1, 1); + setsid(); execvp(argv[1], argv+1); perror("execvp"); -- cgit 1.4.1