From ddd4bd93c9c10bd1885bb3afda3d5d779d25e52f Mon Sep 17 00:00:00 2001 From: a <1@1.1> Date: Thu, 25 Apr 2024 20:59:11 +0200 Subject: [PATCH] XONSH_TRACE_SUBPROC returns more useful details. --- xonsh/procs/specs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonsh/procs/specs.py b/xonsh/procs/specs.py index 6ffe3d6bf..c1e2a478c 100644 --- a/xonsh/procs/specs.py +++ b/xonsh/procs/specs.py @@ -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,