summaryrefslogtreecommitdiff
path: root/distbuild-helper
diff options
context:
space:
mode:
Diffstat (limited to 'distbuild-helper')
-rwxr-xr-xdistbuild-helper1
1 files changed, 1 insertions, 0 deletions
diff --git a/distbuild-helper b/distbuild-helper
index 76a39d5f..1f648dd4 100755
--- a/distbuild-helper
+++ b/distbuild-helper
@@ -131,6 +131,7 @@ class HelperMachine(distbuild.StateMachine):
'JsonMachine: exec request: stdin=%s', repr(stdin_contents))
p = subprocess.Popen(argv,
+ preexec_fn=os.setpgrp,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)