Hi friends I'm facing a strange problem,,, as im starting a process thru Runtime.exec(),which return me this Process object ,this process is a server which takes some time to start completely ,now im getting this process input stream thru process.getInputStream() after using Thread.sleep(x)so that my process can be started completely , This works nice on linux(means it gives me complete inputstream) but when i try to execute it on NT it gives me uncomplete inputstream and its vary time to time . can anybody please help me out .. Tx.
Please don't post duplicate questions in different forums - it may waste time for people who don't realize a question has already been answered elsewhere. I'm closing this copy, and keeping the one in Advanced since the problem is not necessarily with the I/O itself (though I may be wrong). Follw up in Advanced.
"I'm not back." - Bill Harding, Twister
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop