process wait or pause feature needed for java code
jay start
Greenhorn
Joined: Apr 08, 2010
Posts: 3
posted
0
Here is some code that work without a problem. My issue is, I need to insert some java code to:
1) pause and/or wait for the tftp process to finish, then;
2) execute the downloaded router image.
I can only manage to get the router_image downloaded. I'm stumped on how to carry it farther and do 1 and 2, above.
Any help much appreciated.
Nick Puketza
Greenhorn
Joined: Apr 01, 2010
Posts: 16
posted
0
Hi Jay,
As for the waiting, I am not sure, but you might check out the Process class description
in the API specification. The waitFor() method looks promising.
As for the waiting, I am not sure, but you might check out the Process class description
in the API specification. The waitFor() method looks promising.