What method or way can I test for a exe finishing it's process?
Runtime rt = java.lang.Runtime.getRuntime();
rt.exec("\\test\\test.exe"
rt.???, check for the state of the test.exe, has it completed?
Something like -
if(rt.<need method>) // if true, open log.txt
{
FileInputStream in = new new FileInputStream("log.txt"
;
...
}
Dano
dan_kryzer@hotmail.com
What's your major malfunction
Runtime rt = java.lang.Runtime.getRuntime();
rt.exec("\\test\\test.exe"
rt.???, check for the state of the test.exe, has it completed?
Something like -
if(rt.<need method>) // if true, open log.txt
{
FileInputStream in = new new FileInputStream("log.txt"
...
}
Dano
dan_kryzer@hotmail.com
What's your major malfunction