[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.5.29 ‘shell’ - invoke a shell script

Usage: (shell command ...)
Generate a string by writing the value to a server shell and reading the output back in. The template programmer is responsible for ensuring that it completes within 10 seconds. If it does not, the server will be killed, the output tossed and a new server started.

Please note: This is the same server process used by the ’#shell’ definitions directive and backquoted ` definitions. There may be left over state from previous shell expressions and the ` processing in the declarations. However, a cd to the original directory is always issued before the new command is issued.

Also note: When initializing, autogen will set the environment variable "AGexe" to the full path of the autogen executable.

Arguments:
command - shell command - the result is from stdout


This document was generated by Bruce Korb on August 30, 2014 using texi2html 1.82.