Next: all, Previous: morehelp, Up: GCL Reference
|
|
is a synonym for emodule-run
.
Next: emodule-sort, Previous: emodule-path, Up: GCL Reference
(emodule-run SHELL-COMMAND ARGS...)
-
) are sent to the module's standard input. The shell
command is interpreted by /bin/sh, so e.g. I/O redirection may
be used; a program which prompts the user for input from the
terminal could be run with:
(emodule-run yourprogram <&2)
If not already set, the environment variable $MACHTYPE is set to the
name of the machine type. Input and output connections to geomview are
dropped when the shell command terminates. Clicking on a running
program's module-browser entry sends the signal SIGHUP to the program.
For this to work, programs should avoid running in the background; those
using FORMS or GL should call foreground() before the first FORMS or
winopen() call. See (emodule-define ...)
. See (emodule-start ...)
.