diff --git a/src/slurminade/function.py b/src/slurminade/function.py index a62f3e4..fb97cac 100644 --- a/src/slurminade/function.py +++ b/src/slurminade/function.py @@ -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)