FunctionPackage: exclToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Object described on page has changed in 6.2

shell

Arguments: &optional cmd&key show-window

This function is not supported on Windows 95/98. Also on Windows, an interactive shell cannot be started, so the optional cmd must be specified. In general, Windows users should consider run-shell-command as an alternative.

If the command argument is not given, then an interactive shell is spawned. To get back to Lisp, exit from the shell. If the command (a string) is given as the value of cmd, then a shell is spawned and directed to execute that command.

The show-window keyword argument is only applicable on Windows. Is specifies how the window associated with the cmd will be displayed. The default is :minimized, which produces the same behavior as in earlier releases, which was, the window was not displayed but an entry for it appeared on the task bar. Another possible value is :showna, which is supposed to display the window but not select it. Note that the :showna option does not seem to work correctly on some versions of Windows. See the description of the show-window argument to run-shell-command for the possible values (all values accepted by run-shell-command are valid for shell) and a discussion of the :showna problems.

On UNIX, the show-window keyword argument is accepted but ignored.

See also run-shell-command. See os-interface.htm for general information on the interface between Allegro CL and the operating system, and information on shell commands.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. The object described on this page has been modified in the 6.2 release; see the Release Notes.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Object described on page has changed in 6.2