Index: Lib/subprocess.py =================================================================== --- Lib/subprocess.py (revision 86537) +++ Lib/subprocess.py (working copy) @@ -1255,6 +1255,8 @@ errno = int(hex_errno, 16) if errno != 0: err_msg = os.strerror(errno) + if errno == 2: + err_msg += ': ' + repr(args[0]) raise child_exception_type(errno, err_msg) raise child_exception_type(err_msg)