throw e;
}
streams.start();
}
ProcessCloser closer = newProcessCloser(streams);
WaitForProcess result = new WaitForProcess(process, attributes, stopper, closer, out, listeners.clone(), messageLogger);
// Invoke listeners - changing this executor does not affect the started process any more
listeners.afterStart(process, this);
return result;