Commit 167d9372 authored by Denis Bilenko's avatar Denis Bilenko

minor change in subprocess.py

parent 35b85c0b
...@@ -712,9 +712,10 @@ class Popen(object): ...@@ -712,9 +712,10 @@ class Popen(object):
os.write(errpipe_write, pickle.dumps(exc_value)) os.write(errpipe_write, pickle.dumps(exc_value))
finally: finally:
# This exitcode won't be reported to applications, so it # Make sure that the process exits no matter what.
# really doesn't matter what we return. # The return code does not matter much as it won't be
os._exit(255) # reported to the application
os._exit(1)
# Parent # Parent
self._watcher = self._loop.child(self.pid) self._watcher = self._loop.child(self.pid)
......
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