mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
XONSH_TRACE_SUBPROC returns more useful details.
This commit is contained in:
parent
8921715379
commit
ddd4bd93c9
1 changed files with 1 additions and 1 deletions
|
@ -897,7 +897,7 @@ def run_subproc(cmds, captured=False, envs=None):
|
|||
for i, s in enumerate(specs):
|
||||
cls = s.cls.__module__ + "." + s.cls.__name__
|
||||
p = {
|
||||
"cmd": s.args,
|
||||
"cmd": [s.args[0].__name__] + s.args[1:] if callable(s.args[0]) else s.args,
|
||||
"cls": cls,
|
||||
"alias": s.alias_name,
|
||||
"bin": s.binary_loc,
|
||||
|
|
Loading…
Add table
Reference in a new issue