forked from OSchip/llvm-project
[lit] Improve error message when lit fails to executable a command by
showing the executable it tried to use. llvm-svn: 253032
This commit is contained in:
parent
82bd29b13c
commit
4eb369fd43
|
@ -207,7 +207,7 @@ def executeShCmd(cmd, shenv, results):
|
|||
env = cmd_shenv.env,
|
||||
close_fds = kUseCloseFDs))
|
||||
except OSError as e:
|
||||
raise InternalShellError(j, 'Could not create process due to {}'.format(e))
|
||||
raise InternalShellError(j, 'Could not create process ({}) due to {}'.format(executable, e))
|
||||
|
||||
# Immediately close stdin for any process taking stdin from us.
|
||||
if stdin == subprocess.PIPE:
|
||||
|
|
Loading…
Reference in New Issue