Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
FMLI Commandsrun(1F)


NAME

 run - run an executable

SYNOPSIS

 run [ -s] [-e] [-n] [-t string] program

DESCRIPTION

 

The run command 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).

OPTIONS

 

The following options are supported:

-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 returning to FMLI (useful for programs like vi, in which the user must do some specific action to exit in the first place).
-s
The -s option means "silent", implying that the screen will not have to be repainted when program has completed. Note that 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.
-tstring
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 (see face(1)) to suspend the process and return to the FMLI application.

EXAMPLES

 Example 1. Sample output of run command
 

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`

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

face(1), attributes(5)


SunOS 5.9Go To TopLast Changed 17 Nov 1999

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.