hpcflow.sdk.submission.schedulers.utils.run_cmd#

hpcflow.sdk.submission.schedulers.utils.run_cmd(cmd, logger=None)#

Execute a command and return stdout, stderr as strings.

Parameters:
  • cmd (str | Sequence[str]) –

  • logger (Logger | None) –

Return type:

tuple[str, str]