|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.hogent.tarsos.util.Execute
public final class Execute
Method Summary | |
---|---|
static int |
command(java.lang.String command)
Executes a command and returns the exit value of the process. |
static int |
command(java.lang.String command,
java.lang.String redirectOutputToFile)
Executes a command and returns the exit value of the process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int command(java.lang.String command, java.lang.String redirectOutputToFile)
command
- the command to executeredirectOutputToFile
- redirects the output to this file. Leave empty or set to null
when no output file is wanted.
public static int command(java.lang.String command)
command
- the command to execute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |