Commit f80c056b authored by Denis Bilenko's avatar Denis Bilenko

Merge pull request #410 from fantix/subprocess_small_fix

Minor fix str/byte issue of subprocess.
parents e26ad644 a9ff7a90
...@@ -746,7 +746,7 @@ class Popen(object): ...@@ -746,7 +746,7 @@ class Popen(object):
else: else:
os.close(errpipe_read) os.close(errpipe_read)
if data != "": if data != b"":
self.wait() self.wait()
child_exception = pickle.loads(data) child_exception = pickle.loads(data)
for fd in (p2cwrite, c2pread, errread): for fd in (p2cwrite, c2pread, errread):
......
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