run(1F) (Form and Menu Language Interpreter) run(1F)
NAME
run - run an executable
SYNOPSIS
run [-s] [-e] [-n] [-t string] program
DESCRIPTION
The run function runs program using the PATH variable to find it. By
default, the user is prompted when program has completed before being
returned to FMLI. The prompt looks like this: Press ENTER to con-
tinue:. The argument program is a UNIX system executable followed by
its options (if any).
OPTIONS
-e If -e is specified the user will be prompted before returning to
FMLI only if there is an error condition
-n If -n is specified the user will never be prompted before return-
ing to FMLI (useful for programs like vi, in which the user must
perform a specific action to exit).
-s The -s option means silent, implying that the screen will not
have to be repainted when program has completed. The -s option
should only be used when program does not write to the terminal.
In addition, when -s is used, program cannot be interrupted even
if it recognizes interrupts.
-t string
If -t is specified, string is the name this process will have in
the pop-up menu generated by the frm-list command. This feature
requires the executable facesuspend to suspend the UNIX system
process and return to the FMLI application.
EXAMPLES
Here is a menu that uses run:
menu="Edit special System files"
name="Password file"
action=`run -e vi /etc/passwd`
name="Group file"
action=`run -e vi /etc/group`
name="My .profile"
action=`run -n vi $HOME/.profile`
Page 1 Reliant UNIX 5.44 Printed 11/98