Skip to content

Commit 424a193

Browse files
Revert change to shell parameter from merge conflict
1 parent d397c90 commit 424a193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

madoop/mapreduce.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def map_single_chunk(exe, input_path, output_path, chunk):
194194
try:
195195
subprocess.run(
196196
str(exe),
197-
shell=True,
197+
shell=False,
198198
check=True,
199199
input=chunk,
200200
stdout=outfile,
@@ -415,7 +415,7 @@ def reduce_single_file(exe, input_path, output_path):
415415
try:
416416
subprocess.run(
417417
str(exe),
418-
shell=True,
418+
shell=False,
419419
check=True,
420420
stdin=infile,
421421
stdout=outfile,

0 commit comments

Comments
 (0)