shell

Creates a subprocess to run a shell or other program

APPLICABILITY

ClearCase (cleartool subcommand), Attache (command), MultiSite (multitool subcommand)

SYNOPSIS

sh·ell  |   !  [ command [ arg ... ] ]

DESCRIPTION

The shell command creates a subshell. The shell command is intended for use in cleartool and multitool interactive mode. If you are using single-command mode, there is no need for this command.

PERMISSIONS AND LOCKS

Permissions Checking: No special permissions required. Locks: No locks apply.

OPTIONS AND ARGUMENTS

PROGRAM TO RUN IN SUBPROCESSDefault: Runs the shell program indicated by your ComSpec environment variable (or cmd.exe, if your environment does not include ComSpec). The shell runs interactively until you exit from it.

NOTE: Changing the ComSpec variable to a value other than cmd.exe may have undesirable side effects elsewhere in your work environment. To avoid this problem, you can invoke the alternative shell explicitly from cmd.exe, after executing shell.

command [ arg ... ]

Runs a noninteractive shell which, in turn, invokes the program command, (and, optionally, passes it one or more arguments). The subshell exits immediately after executing command.

EXAMPLES

cleartool shell
> dir *.c
  ...
> exit
cleartool shell dir *.c
  ...

SEE ALSO

pwv



Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved.