diff --git a/scenario_execution/scenario_execution/actions/run_process.py b/scenario_execution/scenario_execution/actions/run_process.py index 2f9f3a1b..a5df6141 100644 --- a/scenario_execution/scenario_execution/actions/run_process.py +++ b/scenario_execution/scenario_execution/actions/run_process.py @@ -33,7 +33,6 @@ def __init__(self): self.wait_for_shutdown = None self.shutdown_timeout = None self.shutdown_signal = None - self.executed = False self.process = None self.log_stdout_thread = None self.log_stderr_thread = None @@ -44,6 +43,7 @@ def execute(self, command=None, wait_for_shutdown=True, shutdown_timeout=10, shu self.wait_for_shutdown = wait_for_shutdown self.shutdown_timeout = shutdown_timeout self.shutdown_signal = shutdown_signal[1] + self.executed = False def update(self) -> py_trees.common.Status: """