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

minor change in subprocess.py

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