Skip to content

Commit 16db8c0

Browse files
committed
build commands without shell to keep
1 parent ba22329 commit 16db8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def run_command(command: str, cwd: Path, env: Mapping[str, str]) -> None:
10-
result = subprocess.run(command, cwd=cwd, env=env, shell=True, check=True, text=True)
10+
result = subprocess.run(command, cwd=cwd, env=env, shell=False, check=True, text=True)
1111
if result.returncode != 0:
1212
sys.exit(result.returncode)
1313

0 commit comments

Comments
 (0)