How do I know when an external command has finished executing?

greenspun.com : LUSENET : Java Programming : One Thread

I call an external command from within Java but need to know when it has finished executing.

Process p = Runtime.getRuntime().exec(someCommand);

Is there something in Process that will tell me that someCommand has finshed executing?

thanks

Steve.

-- Steve Miller (steven.miller@hutchison3g.com), October 09, 2002


Moderation questions? read the FAQ