This content has been marked as final. Show 3 replies
The process starts as soon as it can so you are stuffed if it takes too long.
You don't need to wait till the process finishes! Just run it in a separate thread !
You should spend a lot of time reading ALL the sections of http://www.javaworld.com/jw-12-2000/jw-1229-traps.html and then to implement ALL the recommendations. Even though this is concerned with a Process obtained from Runtime.exec() it still applies to one obtained from ProcessBuilder. You may be tempted to take some short cuts and only implement some of the recommendations but this will just jump up and bite you later.