Uh Oh. Doing a Runtime.exec needs careful redirection of streams and the default handling
(especially on Windows) fills up the buffer for someone to read. But if none reads it, the program
will hang. Note that both start-domain and create-domain write lots of information to their
standard output and hence you need to clear the buffer where the output is written.
Please see JDK API for ProcessBuilder to do this right.
-Kedar
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=328487