Skip to content

Commit

Permalink
XONSH_TRACE_SUBPROC returns more useful details.
Browse files Browse the repository at this point in the history
  • Loading branch information
a authored and jnoortheen committed Apr 26, 2024
1 parent 8921715 commit ddd4bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xonsh/procs/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ddd4bd9

Please sign in to comment.