processExecutionThread, definition.getTimeoutMs());
processTimeoutThread.start();
}
// Wait while process thread exits
processExecutionThread.join();
// Release all resources - even the process is not alive (http://kylecartmell.com/?p=9)
IOUtils.closeQuietly(process.getErrorStream());
IOUtils.closeQuietly(process.getInputStream());
IOUtils.closeQuietly(process.getOutputStream());