Class StandardProcessCloser
java.lang.Object
org.zeroturnaround.exec.close.StandardProcessCloser
- All Implemented Interfaces:
ProcessCloser
- Direct Known Subclasses:
TimeoutProcessCloser
Stops
ExecuteStreamHandler from pumping the streams and closes them.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
streams
-
-
Constructor Details
-
StandardProcessCloser
-
-
Method Details
-
close
Description copied from interface:ProcessCloserCloses standard streams of a given sub process.- Specified by:
closein interfaceProcessCloser- Parameters:
process- sub process (notnull).- Throws:
IOException- if I/O errors occur while closing the underlying streamInterruptedException- if underlying throws a InterruptedException
-