I think some more information would help.  However from the JavaDoc.
"public abstract int waitFor()throws InterruptedException
causes the current thread to wait, if necessary, until the process represented
by this Process object has terminated. This method returns immediately if the
subprocess has already terminated. If the subprocess has not yet terminated,
the calling thread will be blocked until the subprocess exits. "

Sounds like this is the documented behavior.


--- Joel Cordonnier <[EMAIL PROTECTED]> wrote:
> writing my own tasks, I have the following problem:
> 
>  Process.waitFor() is blocking !
> 
> Thanks for any help
> Joel
> 
> ___________________________________________________________
> Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
> Yahoo! Messenger : http://fr.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


=====
-----------------
Scott Carlson
Marquette University Alumnus
[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

Reply via email to