diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 99bca47..c691ad8 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -1306,7 +1306,7 @@ class Popen(object): try: exception_name, hex_errno, err_msg = ( - errpipe_data.split(b':', 2)) + errpipe_data.split(b':', 1)) except ValueError: exception_name = b'SubprocessError' hex_errno = b'0'