Name: | Run |
Version: | 1.0 |
ID: | ID_RUN |
Status: | Unspecified |
Category: | Command |
Date: | June 2001 |
Author: | Rocklyte Systems |
Copyright: | Rocklyte Systems (c) 2000-2001. All rights reserved. |
Short: | The execute class runs native binary programs. |
The Run class allows you to run the binary programs that are native to the system that Athene is running on. For example, if you are running Athene on a Linux system, the Run class will allow you to run X11 programs and popular applications such as Netscape.
Typical usage in a DML script is as follows:
<execute src="netscape"/>
If you need to send the program arguments, use the Args field as in this example:
<execute src="myprogram" args="arg1 arg2 arg3"/>
Like all commands you may make the execute object static if you want it to respond to system events.
The Run class supports the following actions:
Activate Activates an Action object. ClosingTag If the object is non-static, this action will start the execution process and then the object will self-destruct.
The Run object consists of the following public fields:
Args Set this field to send the executable program a range of arguments. Location Defines the location/name of the executable program. Static Set to TRUE to make the object static.
Field: | Location | |
Synonyms: | Src | |
Short: | Defines the location/name of the executable program. | |
Type: | STRING | |
Status: | Read/Write | |
|
Field: | Static | |
Short: | Set to TRUE to make the object static. | |
Type: | BOOLEAN | |
Status: | Read/Init | |
|