private void sendStdOutToOutputStream(final Process process, final OutputStream outputStream) {
        try {
            IOUtils.copy(process.getInputStream(), outputStream);
        } catch (IOException e) {
            System.out.println("ERROR: " + e.getMessage());
        }
    }
Sends the standard output of the given
process to the given output stream. Potential exceptions are
ignored.
<p>
Note that the given output stream is <em>not</em> closed by this method.

@param process      the process
@param outputStream the putput stream to send to standard input of the process
tika-core/src/main/java/org/apache/tika/embedder/ExternalEmbedder.java