Ejemplo n.º 1
0
 /**
  * Resumes the specified process by sending a SIGCONT using the kill command.
  *
  * @param proc The specified process.
  * @throws Exception If error prevents us from resuming the process.
  */
 static void resumeProcess(Process proc) throws Exception {
   signalProcess(proc, "CONT");
 }
Ejemplo n.º 2
0
 /**
  * Pause the specified process by sending a SIGSTOP using the kill command.
  *
  * @param proc The specified process.
  * @throws Exception If error prevents us from pausing the process.
  */
 static void pauseProcess(Process proc) throws Exception {
   signalProcess(proc, "STOP");
 }