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 c953072 commit 834b868Copy full SHA for 834b868
patchwork/common/tools/bash_tool.py
@@ -45,7 +45,7 @@ def execute(
45
46
try:
47
result = subprocess.run(
48
- command, shell=True, cwd=self.path, capture_output=True, text=True, timeout=60 # Add timeout for safety
+ command.split(), shell=False, cwd=self.path, capture_output=True, text=True, timeout=60 # Add timeout for safety
49
)
50
return result.stdout if result.returncode == 0 else f"Error: {result.stderr}"
51
except subprocess.TimeoutExpired:
0 commit comments