mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
24fdfece1e
commit
983a7c51d1
1 changed files with 11 additions and 5 deletions
|
@ -895,10 +895,16 @@ def run_subproc(cmds, captured=False, envs=None):
|
|||
r = {"cmds": cmds, "captured": captured}
|
||||
print(f"Trace run_subproc({repr(r)}):", file=sys.stderr)
|
||||
for i, s in enumerate(specs):
|
||||
cls = s.cls.__module__ + '.' + s.cls.__name__
|
||||
p = {"cmd": s.args, "cls":cls, "alias":s.alias_name, "bin":s.binary_loc, "bg":s.background, "threadable": s.threadable}
|
||||
print(f'{i}: {repr(p)}')
|
||||
|
||||
cls = s.cls.__module__ + "." + s.cls.__name__
|
||||
p = {
|
||||
"cmd": s.args,
|
||||
"cls": cls,
|
||||
"alias": s.alias_name,
|
||||
"bin": s.binary_loc,
|
||||
"bg": s.background,
|
||||
"threadable": s.threadable,
|
||||
}
|
||||
print(f"{i}: {repr(p)}")
|
||||
|
||||
cmds = [
|
||||
_flatten_cmd_redirects(cmd) if isinstance(cmd, list) else cmd for cmd in cmds
|
||||
|
|
Loading…
Add table
Reference in a new issue