I'm facing following problem:
1. I have a Java program which calls other java program.
2. I call the other java program by:
---> I run the batch file.
Process proc =Runtime.getRuntime().exec(batchFile);
---> This batch file calls the java program.
Now In my main application that is main java program I'm capturing error and output stream of DOS command
line so that it will be displayed by my swing application.
proc.getInputStream() and proc.getErrorStream().
But I'm not able to capture the error stream
If I don't capture the streams and run command window it will display error as
well as o/p on command window.
I'm not getting what is going wrong over here.
Thanks in advance.
Lee