|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jstatcom.engine.SysRun
public final class SysRun
Helper class to invoke system commands via static methods.
Constructor Summary | |
---|---|
SysRun()
|
Method Summary | |
---|---|
static void |
invoke(java.lang.String command,
java.lang.String arg)
Creates a new process with an argument and returns immediately. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SysRun()
Method Detail |
---|
public static void invoke(java.lang.String command, java.lang.String arg)
command
- name of the executable to runarg
- argument for the process to create
java.lang.IllegalArgumentException
- if (command == null || command.length() == 0)
java.lang.RuntimeException
- if an execute failed due to an IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |