public class CLIProcessExecutor extends Object
| Constructor and Description |
|---|
CLIProcessExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String name,
String[] cmd,
boolean wait)
This method invokes the runtime exec
|
int |
exitValue()
return the exit value of this process.
|
public void execute(String name, String[] cmd, boolean wait) throws Exception
cmd - the command to executewait - if true, wait for process to end.Exceptionpublic int exitValue()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.