|
Advertisement
|
Forum posts by Aarti Thorat:1 page [ 1 ]
Posted in Java Answers Forum, Mar 6, 2002, 3:54 PM
Thanks for the input.I did try this but the process behaves a little strangely than I expected or probably I am making a mistake somewhere. Here's the piece of code which does this.InputStream prin = process.getInputStream();BufferedReader bin = new BufferedReader(new InputStreamReader(prin));String temp = bin.readLine();System.out.println("the...
Posted in Java Answers Forum, Mar 5, 2002, 8:12 PM
Hi,I posted a question sometime ago, but didnt get an answer hence am posting my core confusion.I wonder Runtime.exec() can deal with user interactionin subprocess. For example, program A calls program Bthrough Runtime.exec(). Program B gives some output andreceives standard input. I understand how B's output isredirected to A, but I have no...
Posted in Java Answers Forum, Mar 5, 2002, 4:46 PM
Hi,I am executing a class file through a thread using the Runtime.getruntime.process.exec() call. The executing class file is blocked indefinitely as it needs some input from the console. I am attaching the code where ExeClass class contains code to execute the class file and this object is instantiated in Filter class.The output of the...
1 page [ 1 ]
|