Redirection of input and error stream
HI
I am not sure this is the right forum to ask a solution for my problem. But could not get a better place.
My requirement is to run an executable jar file from my code.
I used the java.lang.RunTime and java.lang.Process to invoke the jar using the java -jar command . But the problem is that these jars use log4j for error and debug logging into multiple files. When i use the lang APIs these log messages are given back to me through the InputStream of the process rather than being written into the respective log file.
Please suggest a way I can avoid this redirection into the default InputStream
Thanks in Advance
Chanchal

