Using EXEC in GiD

The Tcl language has the exec command used to invoke a subprocess. This command treats its arguments as the specification of one or more subprocesses to execute. It is possible to invoke a subprocess from GiD using this option.

Example: invoking a process in the background

exec netscape http://www.gidhome.com &

Note: In Windows, instead of & it is necessary to put >& NUL: & to run the process in the background.

Example:

exec PROGRAM_NAME >& NUL: &