MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


FMLI Commands                                             run(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 fol-
     lowed by its options (if any).

OPTIONS
     The following options are supported:

     -e          If -e is specified, the user is prompted  before
                 returning to FMLI only if there is an error con-
                 dition


     -n          If -n is specified, the user is  never  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  does  not have to be repainted when pro-
                 gram has completed. The -s option should only be
                 used  when  program does not write to the termi-
                 nal. In addition, when -s is used, program  can-
                 not be interrupted, even if it recognizes inter-
                 rupts.


     -tstring    If -t is specified, string is the name this pro-
                 cess  has  in  the  pop-up menu generated by the
                 frm-list command.


EXAMPLES
     Example 1 Sample Output of the run Command


     Here is a menu that uses run:


       menu="Edit special System files"
       name="Password file"
       action=`run -e vi /etc/passwd`



SunOS 5.11           Last change: 7 Nov 2005                    1






FMLI Commands                                             run(1F)



       name="Group file"
       action=`run -e vi /etc/group`
       name="My .profile"
       action=`run -n vi $HOME/.profile`



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsu                     
    


SEE ALSO
     attributes(5)

































SunOS 5.11           Last change: 7 Nov 2005                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™