@ Nullable private Integer waitFor ( Process process ) { try { return process . waitFor ( ) ; } catch ( InterruptedException e ) { log . info ( "interrupted in Process.waitFor" ) ; return null ; } }
Wait for a given process .