Skip to content

Commit

Permalink
found the fd leak, fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Milligan committed Nov 30, 2015
1 parent ae3ae57 commit be494f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batchspawner/batchspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def run_command(cmd, input=None, env=None):
if input:
inbytes = input.encode()
yield proc.stdin.write(inbytes)
proc.stdin.close()
proc.stdin.close()
out = yield proc.stdout.read_until_close()
proc.stdout.close()
err = yield proc.wait_for_exit()
Expand Down

0 comments on commit be494f1

Please sign in to comment.