fix: improve subprocess logging
- show subprocess.run call on DEBUG loglevel
🤖
This commit is contained in:
parent
9c1fa801e0
commit
16bc0974e1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ def run_subprocess(command: str, workdir: str) -> bool:
|
||||||
bool: False if subprocess fails
|
bool: False if subprocess fails
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
subprocess.run(command, cwd=workdir, shell=True, text=True)
|
log.debug(subprocess.run(command, cwd=workdir, shell=True, text=True))
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue