The grun function runs program, using
the PATH
variable to find it. By default, when program has completed,
the user is prompted (Press ENTER to continue:), before being returned
to FMLI. The argument program is a system executable followed by its options
(if any).
If g-e is specified the user will be prompted before
returning to FMLI only if there is an error condition
g-n
If g-n is specified
the user will never be prompted before returning to FMLI (useful for programs
like gvi , in which the user must do some specific action to exit in the
first place).
g-s
The g-s option means "silent", implying that the screen
will not have to be repainted when program has completed. Note that the
g-s option should only be used when program does not write to the terminal.
In addition, when g-s is used, program cannot be interrupted, even if it
recognizes interrupts.
g-tstring
If g-t is specified, string is the name this
process will have in the pop-up menu generated by the gfrm-list command. This
feature requires the executable gfacesuspend , (See face(1)
), to suspend
the process and return to the FMLI application.
gmenu="Edit special System files"
name="Password file"
action=garun -e vi /etc/passwdga
name="Group file"
action=garun -e vi /etc/groupga
name="My .profile"
action=garun -n vi $HOME/.profilega