diff --git a/lib/helper.py b/lib/helper.py index bb9138d..9eae836 100644 --- a/lib/helper.py +++ b/lib/helper.py @@ -32,7 +32,7 @@ def run_subprocess(command: str, workdir: str) -> bool: bool: False if subprocess fails """ try: - log.debug(subprocess.run(command, cwd=workdir, shell=True, text=True)) + log.debug(subprocess.run(command.split(" "), cwd=workdir, text=True)) except subprocess.CalledProcessError: return False