ewoksmx.shell_utils.execute_results.BashExecutionResult#

class ewoksmx.shell_utils.execute_results.BashExecutionResult(script_path, stdout=True, stderr=True, stdmerge=True)[source]#

Bases: object

Bash execution return code and log files.

Parameters:
  • script_path (Path)

  • stdout (bool)

  • stderr (bool)

  • stdmerge (bool)

log(level=10)[source]#
Parameters:

level (int)

print()[source]#
raise_on_error()[source]#
read_log()[source]#
Return type:

Optional[str]

read_stderr()[source]#
Return type:

Optional[str]

read_stdout()[source]#
Return type:

Optional[str]