4.6.12. wait_for_stop

Usage

wait_for_stop REGEX

Description

Waits until a process stop that has a command line matching REGEX.

Notes

  • Outputs OK message and returns 0 if the process stops.
  • Outputs ERROR message and returns 2 if the process does not stop.