replacementStdin = new PipedInputStream(inputSource);
} catch (IOException e) {
throw UncheckedException.throwAsUncheckedException(e);
}
execution.getConnection().onStdin(new StdinHandler() {
public void onInput(ForwardInput input) {
LOGGER.debug("Writing forwarded input on daemon's stdin.");
try {
inputSource.write(input.getBytes());
} catch (IOException e) {