Is there a way to capture the IO from a process built by ProcessBuilder like the following ? tapSystemErrAndOut(() -> { final Process process = new ProcessBuilder(commandLine).inheritIO().start(); process.waitFor(); });