Commit de80b471 authored by Valentin Reis's avatar Valentin Reis Committed by Swann Perarnau

[fix] close all file descriptors on fork

close_fds only defaults to true on python 3, leading to leaking open
file descriptors every time we fork a process.
parent a35bbc69
Pipeline #5577 passed with stages
in 10 minutes and 34 seconds
......@@ -130,7 +130,8 @@ class NodeOSClient(object):
args.append(cmd)
return process.Subprocess(args,
stdout=process.Subprocess.STREAM,
stderr=process.Subprocess.STREAM)
stderr=process.Subprocess.STREAM,
close_fds=True)
class ChrtClient(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment