public interface Process extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the process.
|
int |
getPid()
Retrieves the PID of the process
|
boolean |
isRunning()
Check if this process is still running
|
int getPid()
boolean isRunning()
throws IOException
true if the process is runningIOException - if an error occursvoid destroy()
throws IOException
IOException - If an error occurs.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.