Skip to content

Commit

Permalink
fixup! Extract subprocess script-building code into separate function…
Browse files Browse the repository at this point in the history
…, use NamedTemporaryFile
  • Loading branch information
timwoj committed Jan 9, 2023
1 parent 25ac488 commit abfc620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btest
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def ExpandBackticks(origvalue):
if sys.platform == 'win32':
try:
tf, bash_cmd = _build_win_subprocess_cmd_script(cmd, None)
pp = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
pp = subprocess.Popen(cmd, stdout=subprocess.PIPE)
except OSError as e:
error("cannot execute '%s': %s" % (cmd, e))
else:
Expand Down

0 comments on commit abfc620

Please sign in to comment.