1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/module
Michael Gran 1174e1eb9d Allows modification of shell used by open-pipe
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
2025-03-30 18:09:37 -07:00
..
ice-9 Allows modification of shell used by open-pipe 2025-03-30 18:09:37 -07:00
language Fix string-utf8-length to have unboxed representation 2025-02-20 12:38:28 +01:00
oop Bugfix: Recursively use method*, not method, in method* 2024-11-27 13:27:46 +01:00
rnrs Implement R6RS custom textual ports 2023-06-08 10:21:02 +02:00
scheme Update set of decimal zeroes for Unicode 15.1.0 2023-11-02 11:31:32 +01:00
scripts Bump user-visible copyright years to 2024. 2024-01-24 10:49:27 +01:00
srfi srfi-19: Fix ~V converter in date->string. 2025-02-28 10:28:06 +01:00
sxml Fix typos in comments. 2025-02-28 09:58:29 +01:00
system Improve DLL search strategy for load-foreign-library 2025-03-22 07:05:31 -07:00
texinfo Fix typo in transform-string docstring 2025-03-20 13:36:58 -05:00
web Allow trailing "." in urls 2025-03-02 21:18:19 +01:00
Makefile.am Rework bootstrap to be reproducible 2022-02-01 14:50:40 +01:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm Fix typos throughout codebase. 2024-05-06 11:51:53 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00