The Official EHTML Page - Code RUNIT

To Execute Programs To Enhance Your Page


The <RUNIT> code under EHTML executes a given UNIX command or script, captures the standard output (the screen) and displays that text within your EHTML document.


Attributes

command
The UNIX command that you would like to execute, having it's output display within your page.


Setup

The <RUNIT x> code does not require any special setup to be used. You merely embed the code within your EHTML document and substitute x for the appropriate UNIX command.

For those that are developing scripts for use with the <RUNIT x> code, however, the code provides a special indication of the context in which the script was called. If the script was invoked via the code, the environment variable EHTML_RUN will be set. This allows for scripts which are polymorphic, or able to change to match a given situation.


[ EHTML Overview | EHTML Setup | EHTML Codes | EHTML Problems ]
Please Report Problems With This Page To: Vaxxine Web Development, vaxxweb@vaxxine.com


Original EHTML documentation by RK. EHTML originally designed by JP, updates by RK.