public class StandardProcessCloser extends Object implements ProcessCloser
ExecuteStreamHandler from pumping the streams and closes them.| Modifier and Type | Field and Description |
|---|---|
protected ExecuteStreamHandler |
streams |
| Constructor and Description |
|---|
StandardProcessCloser(ExecuteStreamHandler streams) |
protected final ExecuteStreamHandler streams
public StandardProcessCloser(ExecuteStreamHandler streams)
public void close(Process process) throws IOException, InterruptedException
ProcessCloserclose in interface ProcessCloserprocess - sub process (not null).IOExceptionInterruptedExceptionCopyright © 2016 ZeroTurnaround. All rights reserved.