We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c07de6e commit f9a836fCopy full SHA for f9a836f
patchwork/steps/CallShell/CallShell.py
@@ -46,7 +46,7 @@ def __parse_env_text(env_text: str) -> dict[str, str]:
46
return env
47
48
def run(self) -> dict:
49
- p = subprocess.run(self.script, shell=True, capture_output=True, text=True, cwd=self.working_dir, env=self.env)
+ p = subprocess.run(shlex.split(self.script), shell=False, capture_output=True, text=True, cwd=self.working_dir, env=self.env)
50
try:
51
p.check_returncode()
52
except subprocess.CalledProcessError as e:
0 commit comments