user3263234 user3263234 - 1 month ago 23
Groovy Question

Check if process is running by using PID

In Groovy, is there a way to check if the program is still running by using the PID?

Answer

yes there is a way to check if the program running ,To check for the existence of a process, use

kill -0 $PID
Comments