I've used the builder and not the ProcessExecutor because I need direct access to the process' inputstream and I haven't found a way to do that with ProcessBuilder.