java.lang.Object
org.jext.dawn.Function
org.jext.dawn.util.ExecFunction
- public class ExecFunction
- extends org.jext.dawn.Function
Executes an OS command.
Usage:
string exec
Where string contains the command to be executed. When command terminates,
Dawn pushes the exit code on stack.
| Fields inherited from class org.jext.dawn.Function |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecFunction
public ExecFunction()
invoke
public void invoke(org.jext.dawn.DawnParser parser)
throws org.jext.dawn.DawnRuntimeException
- Description copied from class:
org.jext.dawn.Function
- Executes the function. Usually, the function should make use of
the
DawnParser given as parameter.