Hi Alexander,
no idea but the OS behave a bit differently especially with Windows
stream re-direction does not work perfectly
Cheers,
Siegfried Goeschl
On 24.04.14 22:26, Alexander Prishchepov wrote:
Hello, All.
I am starting new process with DefaultExecutor like that:
----------------------------------------------------------------------
DefaultExecutor executor = new DefaultExecutor();
executor.setStreamHandler(new PumpStreamHandler(System.out,
System.err, System.in));
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.
Regards,
AlexP
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]