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.
- Introduced in 10.1.14 (👉cc7e301) shell_command/1: find the preferred interactive shell executable.