I am setting up and creating a new thread to execute another program.
This new thread has a standard out and error stream.
I want both streams to be written to the same log file which is easy with the method "redirectErrorStream(true)"....
HOWEVER, I need to monitor the error stream... if anything comes through it, I want to report a process error.
This new thread has a standard out and error stream.
I want both streams to be written to the same log file which is easy with the method "redirectErrorStream(true)"....
HOWEVER, I need to monitor the error stream... if anything comes through it, I want to report a process error.






