Skip to content

Commit

Permalink
missed comma after shell in sub
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed May 31, 2024
1 parent 90b2d79 commit 2e91edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wxflow/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _get_shell_env(scripts: List) -> Dict[str, Any]:
magic = f'--- ENVIRONMENT BEGIN {random.randint(0,64**5)} ---'
runme += f'/bin/echo -n "{magic}" ; /usr/bin/env -0'
with open('/dev/null', 'w') as null:
env = subprocess.Popen(runme, shell=True, executable='/bin/bash' stdin=null.fileno(),
env = subprocess.Popen(runme, shell=True, executable='/bin/bash', stdin=null.fileno(),
stdout=subprocess.PIPE)
(out, err) = env.communicate()
out = out.decode()
Expand Down

0 comments on commit 2e91edc

Please sign in to comment.