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.

Source for wiki SystemCommandCowan version 1

author

cowan

comment


    

ipnr

98.14.172.204

name

SystemCommandCowan

readonly

0

text

== 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.

time

2010-09-27 04:31:08

version

1