Fix error in exec_util.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1667 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
da87cf449d
commit
7511f1e921
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue