public class Mojos extends Object
public static int waitFor(ProcessBuilder processBuilder) throws IOException, InterruptedException
processBuilder - the process builderIOException - if an I/O error occurs while running the processInterruptedException - if the thread was interruptedCopyright © 2013. All Rights Reserved.