Prev: secondary web pages load in background screen shots
Next: Making a socket server connection from java applet
From: hrn on 8 Sep 2009 16:45 Actually, in my java program, exe is exe1. 1 is missing here. There has been a mistake while writing.
From: Martin Gregorie on 8 Sep 2009 19:49 On Tue, 08 Sep 2009 13:45:17 -0700, hrn wrote: > Actually, in my java program, exe is exe1. 1 is missing here. There has > been a mistake while writing. Use copy & paste next time. However, a compiled and tested SSCE would be better. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
From: Roedy Green on 8 Sep 2009 23:13 On Tue, 8 Sep 2009 07:15:45 -0700 (PDT), hrn <harungkc(a)gmail.com> wrote, quoted or indirectly quoted someone who said : >. >String exe = "external1.exe"; >String exe2 = "external2.exe"; >Process rt = Runtime.getRuntime().exec(exe1); >rt.waitFor(); >System.out.println("Finished executing external program"); You have constipation. You must allow for the flow of output from the child. See http://mindprod.com/jgloss/exec.html -- Roedy Green Canadian Mind Products http://mindprod.com "I mean, source code in files; how quaint, how seventies!" ~ Kent Beck (born: 1961 age: 48), evangelist for extreme programming.
First
|
Prev
|
Pages: 1 2 Prev: secondary web pages load in background screen shots Next: Making a socket server connection from java applet |