Prevent Child Process from Locking Up by Reading Its OutputSummaryAfter using Runtime.exec() to create a Process, that process may lock up if its output isn't read in a timely fashion. Symptoms can include:
Helper LibraryI have written a helper library that does all of this work. It supports several different uses, including those where the output can be discarded and those where the output will be inspected later.Read more about the Handle Process Output (HPO) library here. Copyright © 2009 Andrew Oliver |