org.wamblee.io
Class SimpleProcess
java.lang.Object
org.wamblee.io.SimpleProcess
public class SimpleProcess
- extends Object
- Version:
- $Revision$
- Author:
- $author$
SimpleProcess
public SimpleProcess(File aDirectory,
String[] aCmd)
- Creates a new SimpleProcess object.
getStdout
public String getStdout()
- Returns:
- the stdout
getStderr
public String getStderr()
- Returns:
- the stderr
run
public int run()
throws IOException
- Runs the process and blocks until it is done.
- Returns:
- Exit status of the process.
- Throws:
IOException - In case of problems.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.