launch.events.process.process_matchers module
Module for standard “process_matchers”, which are used with ProcessTargetedEvents.
- launch.events.process.process_matchers.matches_executable(executable: str) Callable[[ExecuteProcess], bool][source]
Return a matcher which matches based on the name of the executable for the process.
The given executable is compared with the first element of the ‘cmd’ using str.endswith(). So, for example, ‘ls’ would match either ‘ls .’ or ‘/usr/bin/ls .’.