mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
open-pipe executes a shell command in a subprocess. This commit adds the ability to modify the shell used for executing commands. The default "/bin/sh -c" can be inspected and modified by the new procedure-with-setter 'pipe-shell-command-transformer'. This useful in MinGW since its "sh" is not in "/bin". * module/ice-9/popen.scm (%command-transformer): new procedure (pipe-shell-command-transformer): new procedure-with-setter (open-pipe): use new command transformer * doc/ref/posix.texi (open-pipe): mention pipe-shell-command-transformer (pipe-shell-command-transformer): document new procedure * test-suite/tests/popen.test ("pipe-shell-command-transformer"): new tests Also, modify open-pipe shell for MinGW * NEWS: updated * test-suite/tests/ports.test (mingw?): new variable Also, modify open-pipe shell for MinGW |
||
---|---|---|
.. | ||
ice-9 | ||
language | ||
oop | ||
rnrs | ||
scheme | ||
scripts | ||
srfi | ||
sxml | ||
system | ||
texinfo | ||
web | ||
Makefile.am | ||
rnrs.scm | ||
statprof.scm | ||
texinfo.scm |