public class ExternalProcess extends Object
| Constructor and Description |
|---|
ExternalProcess(ProcessBuilder def,
File runDir,
User user) |
| Modifier and Type | Method and Description |
|---|---|
void |
evilKill() |
InputStream |
getErrorStream() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
int |
getWorkingPid() |
boolean |
isRunning() |
void |
niceKill() |
void |
niceThenEvilKill() |
void |
start() |
int |
waitFor() |
public ExternalProcess(ProcessBuilder def, File runDir, User user)
public void start()
throws IOException
IOExceptionpublic int getWorkingPid()
public void niceKill()
public void evilKill()
public void niceThenEvilKill()
public boolean isRunning()
public int waitFor()
throws InterruptedException
InterruptedExceptionpublic OutputStream getOutputStream()
public InputStream getInputStream()
public InputStream getErrorStream()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.