Merge revision 1667 changes:

- Fix error in exec_util.py.

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1916@1668 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2014-04-18 19:03:44 +00:00
parent a87280cf72
commit 6075276d1c

View File

@@ -11,7 +11,7 @@ def exec_cmd(cmd, path):
err = '' err = ''
parts = cmd.split() parts = cmd.split()
try: try:
process = Popen(cmd, cwd=path, stdout=PIPE, stderr=PIPE, process = Popen(parts, cwd=path, stdout=PIPE, stderr=PIPE,
shell=(sys.platform == 'win32')) shell=(sys.platform == 'win32'))
out, err = process.communicate() out, err = process.communicate()
except IOError, (errno, strerror): except IOError, (errno, strerror):