Skip to main content

Module wait

Module wait 

Source
Expand description

proc wait - Wait for process(es) to exit

Examples: proc wait node # Wait until the processes named node exit proc wait node –cmd # … or with node anywhere in their command line proc wait 1234 # Wait for PID 1234 to exit proc wait :3000 # Wait for whatever is on port 3000 to exit proc wait node python # Wait for all to exit (separate arguments) proc wait node –timeout 3600 # Timeout after 1 hour proc wait node –interval 10 # Status line every 10 seconds

Commas still work (proc wait node,python) but are deprecated.

Structs§

WaitCommand
Wait for process(es) to exit