Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | misc | |
Tool | executive |
Important The script must exit explicitly if executive is to detect the end of processing. Thus, you must put as the last executed line exit(1).
Important Note that the scripts run in a separate instance of glish. Thus variables such as tools defined in the current glish session will not be available inside the script.
script | Script to be executed | ||
Allowed: | String | ||
Default: | None | ||
host | Host where script is to be run: default is current host | ||
Allowed: | String | ||
Default: | '' | ||
log | Log file | ||
Allowed: | String | ||
Default: | '' |
include 'executive.g'; myexecutive:=executive(); myexecutive.runscript('doit.g', host='zeus'); myexecutive.run('doitagain()', inc='ireallydoit.g', host='zeus');