You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Joel Cordonnier <jo...@yahoo.fr> on 2001/02/07 18:22:26 UTC
subproces Process.waitFor() is blocking !
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
Re: subproces Process.waitFor() is blocking !
Posted by Scott Carlson <sc...@yahoo.com>.
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 <jo...@yahoo.fr> 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: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
=====
-----------------
Scott Carlson
Marquette University Alumnus
ScottCarlson@technologist.com
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/