Hi, I have the same problem described below.
Trouble providing multiple input to a Command using Apache Commons Exec and extracting output http://stackoverflow.com/questions/7113007/trouble-providing-multiple-input-to-a-command-using-apache-commons-exec-and-extr The problem is that PumpStreamHandler flushes OutputStream fed to sub-process's std-in only when given InputStream is System.in. PumpStreamHandler.java line 130 http://svn.apache.org/viewvc/commons/proper/exec/tags/EXEC_1_1/src/main/java/org/apache/commons/exec/PumpStreamHandler.java?view=markup I think it should be user-selectable whether OutputStream is flushed or not. What do you think? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
