21.1 Calling the Command Shell

The function system can be used to execute a system command.

(system COMMAND:string):undefined expr
starts a (system specific) command interpreter and passes the command to the interpreter.

E.g. unter the UNIX operating system a Bourne shell is started and COMMAND is interpreted following the conventions of this shell. Of course it is possible to use e.g.

(system "bash")