M
moonstonelane
How do i kill the process if it doesnt finish in for e.g. one min?
Process proc = Runtime.getRuntime().exec(cmd);
Process proc = Runtime.getRuntime().exec(cmd);
// after one min waitHow do i kill the process if it doesnt finish in for e.g. one min?
Process proc = Runtime.getRuntime().exec(cmd);
hiwa said:// after one min wait
proc.destroy();
how to i do a one minute wait?
Appreciate any advices
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.