/** * Set the output stream by means of which input can be sent to the child. */ public void setChildInputStream(final OutputStream out) { assert out != null; if (streams.in != null) { inputPump = createInputPump(streams.in, out, true); } else { Closer.close(out); } }