Commit a9ff7a90 authored by Fantix King's avatar Fantix King

Minor fix str/byte issue of subprocess.

parent e26ad644
...@@ -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