I'm making a Java app which requires me to be able to pause (and resume) a child process ran with ProcessBuilder
. I thought I could do it by sending the signals SIGSTOP
and SIGCONT
to the process, I googled it but I couldn't find anything regarding this.
How can I send a signal to a child process?