How to synchronize java code

Posted by Milan on Stack Overflow See other posts from Stack Overflow or by Milan
Published on 2010-04-01T09:37:57Z Indexed on 2010/04/01 9:43 UTC
Read the original article Hit count: 282

Filed under:
|
|

I have the next code:

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

and I want my program to wait for the Runtime.getRuntime().exec(args); to finish cause it last 2-3sec and then to continue.

Ideas?

© Stack Overflow or respective owner

Related posts about synchronize

Related posts about runtime