Runtime.exec()
843798Aug 4 2001 — edited Aug 6 2001Hello,
I am trying to run a GUI I created using the Runtime.exec() command like so:
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("java myGui");
However, nothing happens; my GUI doesn't show up. I've seen a number of articles, most notably one at www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html, and they all seem to say that I need to handle the input, output, and error streams from the process I exec'ed. How would this be done in the case of a GUI?
Thanks in advance.
Gary