Title: Problem with exec()

Hi guys...

I am trying to launch an external application from my Java program, using exec().

I do Runtime.getCurrentRuntime() and then try to exec() the application (not internal command), providing a properly created path. My application has a GUI which is never displayed. However, if I type "ps -aux" I can see that the process is there, which is reasonable since, in all cases, the Process object returned from Runtime.getCurrentRuntime().exec(...) is valid and no IOException (or whatever other error) occurs.

I am running JDK 1.2.2-RC2 from Sun, on a RedHat 6.1 box.

Any ideas?
 
Thanks,
 
Dimitris

Reply via email to