Child process stops when Thread.sleep () is called (in Java on Windows)
I have a Java application that starts an external process (Internet Explorer) using ProcessBuilder. Oddly enough, this child process hangs when the parent Java thread calls Thread.sleep. This does not happen with all processes, for example Firefox, but with IE it happens all the time.
Any ideas?
PS I tried Robot.delay () with the same effect
+2
source to share