public class SimpleProcess extends Object
Constructor and Description |
---|
SimpleProcess(File aDirectory,
String[] aCmd)
Creates a new SimpleProcess object.
|
Modifier and Type | Method and Description |
---|---|
String |
getStderr() |
String |
getStdout() |
int |
run()
Runs the process and blocks until it is done.
|
String |
toString() |
public String getStdout()
public String getStderr()
public int run() throws IOException
IOException
- In case of problems.Copyright © 2024. All rights reserved.