mirror of
https://github.com/GuDaStudio/codexmcp.git
synced 2026-02-05 02:00:24 +08:00
v0.4.7
This commit is contained in:
@@ -48,7 +48,7 @@ def run_shell_command(cmd: list[str]) -> Generator[str, None, None]:
|
||||
process = subprocess.Popen(
|
||||
popen_cmd,
|
||||
shell=False, # Safer: no shell injection
|
||||
stdin=subprocess.DEVNULL, # Prevent process from waiting for input
|
||||
stdin=subprocess.PIPE, # Prevent process from waiting for input
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
universal_newlines=True,
|
||||
|
||||
Reference in New Issue
Block a user