1run(1F)                          FMLI Commands                         run(1F)
2
3
4

NAME

6       run - run an executable
7

SYNOPSIS

9       run [-s] [-e] [-n] [-t string] program
10
11

DESCRIPTION

13       The  run  command  runs program, using the PATH variable to find it. By
14       default, when program has completed, the user is prompted (Press  ENTER
15       to continue:), before being returned to FMLI. The argument program is a
16       system executable followed by its options (if any).
17

OPTIONS

19       The following options are supported:
20
21       -e          If -e is specified, the user is prompted  before  returning
22                   to FMLI only if there is an error condition
23
24
25       -n          If  -n  is  specified,  the  user  is never prompted before
26                   returning to FMLI (useful for programs like  vi,  in  which
27                   the  user must do some specific action to exit in the first
28                   place).
29
30
31       -s          The -s option means "silent", implying that the screen does
32                   not have to be repainted when program has completed. The -s
33                   option should only be used when program does not  write  to
34                   the  terminal. In addition, when -s is used, program cannot
35                   be interrupted, even if it recognizes interrupts.
36
37
38       -tstring    If -t is specified, string is the name this process has  in
39                   the pop-up menu generated by the frm-list command.
40
41

EXAMPLES

43       Example 1 Sample Output of the run Command
44
45
46       Here is a menu that uses run:
47
48
49         menu="Edit special System files"
50         name="Password file"
51         action=`run -e vi /etc/passwd`
52         name="Group file"
53         action=`run -e vi /etc/group`
54         name="My .profile"
55         action=`run -n vi $HOME/.profile`
56
57
58

ATTRIBUTES

60       See attributes(5) for descriptions of the following attributes:
61
62
63
64
65       ┌─────────────────────────────┬─────────────────────────────┐
66       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
67       ├─────────────────────────────┼─────────────────────────────┤
68       │Availability                 │SUNWcsu                      │
69       └─────────────────────────────┴─────────────────────────────┘
70

SEE ALSO

72       attributes(5)
73
74
75
76SunOS 5.11                        7 Nov 2005                           run(1F)
Impressum