public class RunProcess extends Object
| Constructor and Description | 
|---|
RunProcess(String... command)  | 
| Modifier and Type | Method and Description | 
|---|---|
Process | 
getRunningProcess()
Return the running process. 
 | 
boolean | 
handleSigInt()
Return if the process was stopped. 
 | 
boolean | 
hasJustEnded()  | 
void | 
kill()
Kill this process. 
 | 
protected int | 
run(boolean waitForProcess,
   Collection<String> args)  | 
int | 
run(boolean waitForProcess,
   String... args)  | 
public RunProcess(String... command)
public int run(boolean waitForProcess,
               String... args)
        throws IOException
IOExceptionprotected int run(boolean waitForProcess,
                  Collection<String> args)
           throws IOException
IOExceptionpublic Process getRunningProcess()
nullpublic boolean handleSigInt()
true if stoppedpublic void kill()
public boolean hasJustEnded()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.