public class RunProcess extends Object
Constructor and Description |
---|
RunProcess(String... command) |
Modifier and Type | Method and Description |
---|---|
Process |
getRunningProcess() |
boolean |
handleSigInt() |
boolean |
hasJustEnded() |
protected int |
run(Collection<String> args) |
int |
run(String... args) |
public RunProcess(String... command)
public int run(String... args) throws IOException
IOException
protected int run(Collection<String> args) throws IOException
IOException
public Process getRunningProcess()
null
public boolean handleSigInt()
true
if the process was stopped.public boolean hasJustEnded()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.