scenario_execution.actions.run_process module

class scenario_execution.actions.run_process.RunProcess(*args: Any, **kwargs: Any)

Bases: BaseAction

Class to execute an process.

check_running_process()

hook to check running process

return:

py_trees.common.Status

execute(command=None, wait_for_shutdown=True, shutdown_timeout=10, shutdown_signal=('', Signals.SIGTERM))
get_command()
get_logger_stderr()

get logger for stderr messages

get_logger_stdout()

get logger for stderr messages

on_executed()

hook for subclassed

on_process_finished(ret)

hook to check finished process

return:

py_trees.common.Status

set_command(command)
shutdown()
update() py_trees.common.Status

Start/monitor process

return:

py_trees.common.Status