launch.event_handlers.on_process_exit module
Module for OnProcessExit class.
- class launch.event_handlers.on_process_exit.OnProcessExit[source]
Bases:
OnActionEventBaseConvenience class for handling a process exited event.
It may be configured to only handle the exiting of a specific action, or to handle all exited processes.
- __init__(*, target_action: Callable[[ExecuteLocal], bool] | ExecuteLocal | None = None, on_exit: LaunchDescriptionEntity | Iterable[LaunchDescriptionEntity] | Callable[[ProcessExited, LaunchContext], LaunchDescriptionEntity | Iterable[LaunchDescriptionEntity] | None], **kwargs) None[source]
Create an OnProcessExit event handler.