cgl.narada.util
Class ProcessLauncher
java.lang.Object
cgl.narada.util.ProcessLauncher
public class ProcessLauncher
- extends Object
This class is to be used to launch native processes on the command line.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ProcessLauncher getInstance()
executeCommand
public String executeCommand(String command)
throws Exception
- This method will try to execute a command that has been specified.
Specifically, we will also return any outputs that have been produced as
a result of the command's execution.
- Parameters:
command -
- Returns:
- The output if any (if there is no output an empty String will be
returned
- Throws:
Exception
main
public static void main(String[] args)
- Parameters:
args -
For comments and suggestions please send
e-mail to
The NaradaBrokering Project