From b548f4b1197aa2c622b7252a4c74ace655328bfd Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 7 Mar 2012 17:57:26 +0100 Subject: [PATCH] compctl --run: Make sure started computation has its own pgrp --- compctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/compctl.c b/compctl.c index 204f262..fff81ab 100644 --- a/compctl.c +++ b/compctl.c @@ -105,6 +105,7 @@ run(int argc, char *argv[]) } free(line); + setpgrp(); if (setpriority(PRIO_PROCESS, 0, COMPNICE) < 0) perror("Warning: setpriority()"); -- 2.11.4.GIT