Commit 7f627a91 authored by luqui@chromium.org's avatar luqui@chromium.org

Improve error message in subprocess2.py.

BUG=

Review URL: https://codereview.chromium.org/215673002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@260049 0039d316-1c4b-4281-b951-d872f2087c98
parent d9f405d4
......@@ -247,9 +247,9 @@ class Popen(subprocess.Popen):
'http://code.google.com/p/chromium/wiki/CygwinDllRemappingFailure '
'to learn how to fix this error; you need to rebase your cygwin '
'dlls')
# Popen() can throw OSError when cwd or args[0] doesn't exist. Let it go
# through
raise
# Popen() can throw OSError when cwd or args[0] doesn't exist.
raise OSError('%s or %s probably doesn\'t exist' %
(kwargs.get('cwd'), args[0]))
def _tee_threads(self, input): # pylint: disable=W0622
"""Does I/O for a process's pipes using threads.
......
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