Skip to content

Commit 9267120

Browse files
committed
set close_fds to false on Windows else True
1 parent 1dd8476 commit 9267120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def _job_popen(
450450

451451
sp = subprocess.Popen(commands,
452452
shell=False,
453-
close_fds=False,
453+
close_fds=not onWindows(),
454454
stdin=stdin,
455455
stdout=stdout,
456456
stderr=stderr,

0 commit comments

Comments
 (0)