Skip to content

Commit f9a836f

Browse files
author
patched.codes[bot]
committed
Patched patchwork/steps/CallShell/CallShell.py
1 parent c07de6e commit f9a836f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patchwork/steps/CallShell/CallShell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __parse_env_text(env_text: str) -> dict[str, str]:
4646
return env
4747

4848
def run(self) -> dict:
49-
p = subprocess.run(self.script, shell=True, capture_output=True, text=True, cwd=self.working_dir, env=self.env)
49+
p = subprocess.run(shlex.split(self.script), shell=False, capture_output=True, text=True, cwd=self.working_dir, env=self.env)
5050
try:
5151
p.check_returncode()
5252
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)