ewoksmx.shell_utils.execute_slurm.execute_bash_commands#

ewoksmx.shell_utils.execute_slurm.execute_bash_commands(shell_commands, working_directory, stdout=True, stderr=True, stdmerge=True, name='run', parameters=None)[source]#

Execute bash shell commands on Slurm and capture output in files.

Parameters:
  • shell_commands (List[str])

  • working_directory (Union[str, Path])

  • stdout (bool)

  • stderr (bool)

  • stdmerge (bool)

  • name (str)

  • parameters (Optional[dict])

Return type:

BashExecutionResult