Show More
@@ -63,11 +63,12 b' def process_handler(cmd, callback, stderr=subprocess.PIPE):' | |||
|
63 | 63 | """ |
|
64 | 64 | sys.stdout.flush() |
|
65 | 65 | sys.stderr.flush() |
|
66 | close_fds = False if sys.platform=='win32' else True | |
|
66 | 67 | p = subprocess.Popen(cmd, shell=True, |
|
67 | 68 | stdin=subprocess.PIPE, |
|
68 | 69 | stdout=subprocess.PIPE, |
|
69 | 70 | stderr=stderr, |
|
70 |
close_fds= |
|
|
71 | close_fds=close_fds) | |
|
71 | 72 | |
|
72 | 73 | try: |
|
73 | 74 | out = callback(p) |
General Comments 0
You need to be logged in to leave comments.
Login now