launch.events.process.shutdown_process module

Module for ShutdownProcess event.

class launch.events.process.shutdown_process.ShutdownProcess[source]

Bases: ProcessTargetedEvent

Event emitted when a process should begin shutting down.

This event is handled by the launch.actions.ExecuteLocal action, see it for details on what happens when this is emitted.

Also see ProcessTargetedEvent for details on how to target a specific process.

__init__(*, process_matcher: Callable[[ExecuteLocal], bool]) None[source]

Create a ShutdownProcess event.

name = 'launch.events.process.ShutdownProcess'