prolog::shell/1¶
shell(+ Command)*
Execute command Command under a new shell. YAP will be in background until the command completes. In Unix environments YAP uses the shell given by the environment variable SHELL
with the option " -c "
. In WIN32 environment YAP will use COMSPEC
if SHELL
is undefined, in this case with the option " /c "
.