Next: , Previous: Session Support, Up: Other Packages


7.6 System Interface

If (provided? 'getenv):

— Function: getenv name

Looks up name, a string, in the program environment. If name is found a string of its value is returned. Otherwise, #f is returned.

If (provided? 'system):

— Function: system command-string

Executes the command-string on the computer and returns the integer status code. This behaves the same as the POSIX system call.

If (provided? 'program-arguments):

— Function: program-arguments

Returns a list of strings, the first of which is the program name followed by the command-line arguments.