commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Prishchepov <>
Subject [exec] DefaultExecutor PumpStreamHandler and windows command prompt
Date Thu, 24 Apr 2014 20:26:46 GMT
Hello, All.

I am starting new process with DefaultExecutor like that:
            DefaultExecutor executor = new DefaultExecutor();
            executor.setStreamHandler(new PumpStreamHandler(System.out, System.err,;
            executor.execute(<some command line>);

Everything works great, but somehow in windows command prompt input is not visible right away
- only after <Enter> is pressed.
Any idea, why that might happen?

Tested it on unix (Solaris), and it does not happen - input is visible as I type.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message