How can I capture the output of a command as a String with Commons Exec?
<p>Commons exec provides a PumpStreamHandler which redirects standard output to the Java process' standard output. How can I capture the output of the command into a String?</p>
