org.zeroturnaround.exec.close
Interface ProcessCloser

All Known Implementing Classes:
StandardProcessCloser, TimeoutProcessCloser

public interface ProcessCloser

Abstraction for closing sub process' streams.


Method Summary
 void close(Process process)
          Closes standard streams of a given sub process.
 

Method Detail

close

void close(Process process)
           throws IOException,
                  InterruptedException
Closes standard streams of a given sub process.

Parameters:
process - sub process (not null).
Throws:
IOException
InterruptedException


Copyright © 2015 ZeroTurnaround. All rights reserved.