code: public static int procWait (Process process) throws OSHelperException {
  		try {
  			return process.waitFor ();
  		} catch (InterruptedException ex) {
  			throw new OSHelperException ("Received an InterruptedException when waiting for an external process to terminate.", ex);
  		}
  	}
docs: Waits for a specified process to terminate
  
  @param process
  @throws OSHelperException
  @deprecated Use ProcessReturn procWaitWithProcessReturn () instead