diff --git a/xonsh/procs/specs.py b/xonsh/procs/specs.py index e74d3865e..f999c2149 100644 --- a/xonsh/procs/specs.py +++ b/xonsh/procs/specs.py @@ -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 = [