Log wk.exe.run_program result in debug mode
This commit is contained in:
parent
458f637d2c
commit
78e28bb6d2
1 changed files with 4 additions and 2 deletions
|
|
@ -194,9 +194,11 @@ def run_program(cmd, check=True, pipe=True, shell=False, **kwargs):
|
||||||
pipe=pipe,
|
pipe=pipe,
|
||||||
shell=shell,
|
shell=shell,
|
||||||
**kwargs)
|
**kwargs)
|
||||||
|
proc = subprocess.run(**cmd_kwargs)
|
||||||
|
LOG.debug('proc: %s', proc)
|
||||||
|
|
||||||
# Ready to run program
|
# Done
|
||||||
return subprocess.run(**cmd_kwargs)
|
return proc
|
||||||
|
|
||||||
|
|
||||||
def start_thread(function, args=None, daemon=True):
|
def start_thread(function, args=None, daemon=True):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue