Did you know ... | Search Documentation: |
shell.pl -- Elementary shell commands |
This library provides some basic (POSIX) shell commands defined in
Prolog, such as pwd
and ls
for situations where there is no shell
available or the shell output cannot be captured.
shell
$SHELL
posix_shell
%comspec%
(Windows only)ls
does:
1 4 7 2 5 8 3 6