private FileUtil.Pipe outStream;
private FileUtil.Pipe inStream;
private ByteArrayOutputStream errSnoop;
+ private ByteArrayOutputStream outSnoop;
private int result;
private Thrown thrown;
}
}
+ public final void setOutSnoop(ByteArrayOutputStream snoop) {
+ outSnoop = snoop;
+ if (null != outStream) {
+ outStream.setSnoop(outSnoop);
+ }
+ }
+
/**
* Start running the process and pipes asynchronously.
* @return Thread started or null if unable to start thread