shell man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

shell(1F)			 FMLI Commands			     shell(1F)

NAME
       shell - run a command using shell

SYNOPSIS
       shell command [command] ...

DESCRIPTION
       The  shell  function  concatenate  its  arguments, separating each by a
       space, and passes this string to the shell ($SHELL  if  set,  otherwise
       /usr/bin/sh).

EXAMPLES
       Example 1: A sample output of shell command.

       Since  the  Form and Menu Language does not directly support background
       processing, the shell function can be used instead.

       `shell "build prog > /dev/null &"`

       If you want the user to continue to be able to interact with the appli‐
       cation while the background job is running, the output of an executable
       run by shell in the background must be redirected: to  a	 file  if  you
       want  to	 save the output, or to /dev/null if you don't want to save it
       (or if there is no output), otherwise your application may appear to be
       hung until the background job finishes processing.

       shell  can  also be used to execute a command that has the same name as
       an FMLI built-in function.

NOTES
       The arguments to shell will be concatenate using spaces, which  may  or
       may  not	 do  what is expected. The variables set in local environments
       will not be expanded by the shell because "local" means "local  to  the
       current process."

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

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWcsu			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       sh(1), attributes(5)

SunOS 5.10			  5 Jul 1990			     shell(1F)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net