The following patch appears to fix the problem, which may be caused by using a 
newer Perl version (5.18 in my case) than that with which taktuk was tested. 
AFAICT from the perlfunc man page, the default arguments (namely 0,0) to 
setpgrp() do what is required, avoiding the need to specify the (now disliked) 
current process id for both arguments.

--- /tmp/taktuk 2014-07-16 10:58:11.250302451 +0200
+++ /usr/bin/taktuk 2014-07-16 10:58:41.402940665 +0200
@@ -3082,7 +3082,7 @@
     } else {
         # We create a new grp to be able to kill the command and its
         # subprocesses (if any)
-        setpgrp($$,$$) or diagnostic::system;
+        setpgrp or diagnostic::system;
         # child
         if ($command) {
             # in this case, this is a command, we have to maintain control

 --
Dominic Dunlop
Room C111, Weicker Building
University of Luxembourg
dominic.dun...@uni.lu<mailto:dominic.dun...@uni.lu>

Reply via email to