Skip to content

Commit

Permalink
FIX: Shell=True
Browse files Browse the repository at this point in the history
  • Loading branch information
d-krupke committed Feb 27, 2024
1 parent 32a9648 commit 34ae381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slurminade/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ def shell(cmd: typing.Union[str, typing.List[str]]):
Execute a command.
:param cmd: The command to be executed.
"""
subprocess.run(cmd, check=True)
subprocess.run(cmd, check=True, shell=True)

0 comments on commit 34ae381

Please sign in to comment.