[Swift-devel] Re: IllegalThreadStateException

Ben Clifford benc at hawaga.org.uk
Mon Sep 3 11:23:57 CDT 2007



On Mon, 3 Sep 2007, Mihael Hategan wrote:

> On Mon, 2007-09-03 at 11:35 +0000, Ben Clifford wrote:
> > slightly scarily, the source code looks like that's deliberate?
> 
> Yes. Java has no other way of telling whether a process is done or still
> running, unless you create another thread and use Process.waitFor. See
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Process.html#exitValue()

That's happening anyway, in ChildListener which is in WorkerRun.java.

-- 



More information about the Swift-devel mailing list