Package com.sun.enterprise.admin.cli
Class CLIProcessExecutor
java.lang.Object
com.sun.enterprise.admin.cli.CLIProcessExecutor
CLIProcessExecutor A simple process executor class that is used by CLI.
- Author:
- jane.young@sun.com
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CLIProcessExecutor
public CLIProcessExecutor()
-
-
Method Details
-
execute
This method invokes the runtime exec- Parameters:
cmd- the command to executewait- if true, wait for process to end.- Throws:
Exception
-
exitValue
public int exitValue()return the exit value of this process. if process is null, then there is no process running therefore the return value is 0.
-