public class Mojos extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
waitFor(ProcessBuilder processBuilder)
Launches and waits for a process to complete.
|
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 © 2016. All Rights Reserved.