Class TimeoutProcessCloser

java.lang.Object
org.zeroturnaround.exec.close.StandardProcessCloser
org.zeroturnaround.exec.close.TimeoutProcessCloser
All Implemented Interfaces:
ProcessCloser

public class TimeoutProcessCloser extends StandardProcessCloser
Same as StandardProcessCloser but only waits fixed period for the closing. On timeout a warning is logged but no error is thrown.

This is used on Windows where sometimes sub process' streams do not close properly.