next up previous contents index
Next: Dynamic Loading and Up: XLISP-STAT on UNIX Previous: XLISP-STAT Under the

Running UNIX Commands from XLISP-STAT

The system function can be used to run UNIX commands from within XLISP-STAT. This function takes a shell command string as its argument and returns the shell exit code for the command. For example, you can print the date using the UNIX date command:

> (system "date")
Wed Jul 19 11:06:53 CDT 1989
0
>

The return value is 0, indicating successful completion of the UNIX command.



next up previous contents index
Next: Dynamic Loading and Up: XLISP-STAT on UNIX Previous: XLISP-STAT Under the



Anthony Rossini
Fri Oct 20 10:29:17 EDT 1995