Oliver Deakin wrote:
> I remember seeing problems like this before, in a non-Harmony jre, where a
> Runtime.exec() would never return. I hunted around and found an
> interesting page
> on JavaWorld:
> 
>  http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
> 
> I found the "Why Runtime.exec() hangs" section very useful, and it
> solved my problem
> at the time. I'm not saying that what you're seeing is definitely the
> same thing that I encountered,
> but it may help. I notice that in this test stdout and stderr for the
> process are not read - is it
> possible that it is producing some output, and since it isn't being read
> the process just waits
> leading to the exec never exiting?

I think the phrasing in the article is misleading, because we're not
seeing exec() *return*, which is a different issue than the case that
they are talking about, namely the subsequent waitFor() not returning.

So I think this doesn't apply.  Interesting reading, though.

geir

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to