This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see SystemCommandCowan in WG2's repo for R7RS-large.

System­Command­Cowan

cowan
2010-09-27 04:31:08
1history
source

System command procedures

(shell-command command)

Invokes the system shell to execute command, which must be a string. This procedure returns the exit status of the shell in the form that the C library’s system routine returns.

(system-command command arg0 arg ...)

Invokes command directly, passing arg0 as the zeroth argument and args as the additional arguments. All arguments must be strings. This procedure returns the exit status of command.

(system-command-with-environment command environment arg0 arg ...)

Same as system-command, but passes environment (which must be an a-list mapping strings to strings) as the environment.