Skip to content

Commit a2ac68c

Browse files
Use shell=False in subprocess Function Calls
1 parent 1cb6204 commit a2ac68c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jtd_codebuild/generators/generator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ def generate(
6868
safe_mkdir(target_path)
6969
process = subprocess.Popen(
7070
self._codegen_command(self.schema_path, target_path, target_language),
71-
shell=True,
72-
stdout=subprocess.PIPE,
71+
shell=False, stdout=subprocess.PIPE,
7372
stderr=subprocess.PIPE,
7473
)
7574
return [process]

0 commit comments

Comments
 (0)