Skip to content

Commit

Permalink
[fix] runcmd: ensure stdout is printed
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed Mar 17, 2022
1 parent 85fdceb commit 9155833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/c4/cmany/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ def runcmd_nocheck(cmd, *cmd_args, **run_args):
raise Exception("could not understand command")
cmd += list(cmd_args)
logdbg(f" : cmd={cmd}")
logdbg(f" : run_args={run_args}")
scmd = shlex_join(cmd)
cwd = os.path.realpath(run_args.get('cwd', os.getcwd()))
logcmd(f'$ cd {cwd} && {scmd}')
Expand Down

0 comments on commit 9155833

Please sign in to comment.