- shell_command(-Shell:atom)
- True when Shell is the preferred executable for running an
interactive shell. Used by shell/0. The following options are tried
to find a suitable shell command:
- The Prolog flag
shell
- The environment variable
%comspec% (Windows only)
- The environment variable
$SHELL
- The Prolog flag
posix_shell
- Errors
- -
existence_error(config, shell) if no suitable shell can be
found.