XONSH_TRACE_SUBPROC returns more useful details.

This commit is contained in:
a 2024-04-25 20:55:18 +02:00 committed by Noorhteen Raja NJ
parent 983a7c51d1
commit 4250cce9fd

View file

@ -901,9 +901,10 @@ def run_subproc(cmds, captured=False, envs=None):
"cls": cls,
"alias": s.alias_name,
"bin": s.binary_loc,
"thread": s.threadable,
"bg": s.background,
"threadable": s.threadable,
}
p = {k:v for k,v in p.items() if v is not None}
print(f"{i}: {repr(p)}")
cmds = [