launch.events.process.process_targeted_event module

Module for ProcessTargetedEvent event.

class launch.events.process.process_targeted_event.ProcessTargetedEvent[source]

Bases: Event

Event base class that is targeted at some running process.

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

Create a ProcessTargetedEvent.

Some standard matchers are also available, like:

Param:

process_matcher is a predicate which can determine if an ExecuteLocal action matches this event or not

name = 'launch.events.process.ProcessTargetedEvent'
property process_matcher: Callable[[ExecuteLocal], bool]

Getter for process_matcher.