Yes, this is the site we used in the first place to avoid hanging - the
.exitValue function is not supposed to block as described in that
article; however, in our case, there are times where we're finding that
exitValue is indeed blocking. We wrote the code so that in a carefully
controlled loop, we check the exitValue, and then sleep if it hasn't
exited yet.

The weird thing, as mentioned above, exitValue has never blocked when
the ECMA script was run from the command line using the rhino engine;
the blocking has only happened when run inside of an ECMA script being
executed by an IDM 4.0.1 policy.

akynaston's Profile:
View this thread: