Subject: Re: bug#75658: [PATCH 0/4] Fixes for subshells and redirections

From: Ludovic Courtès <[email-masked]>
Date: Thu, 20 Mar 2025 15:18:09 +0100

Ludovic Courtès <[email-masked]> skribis:

>   shell: Exit child process when ‘execle’ fails.
>   shell: Remove dead code in ‘install-current-ports!’.
>   shell: ‘install-current-ports!’ opens file descriptors, not ports.
>   Open low-numbered file descriptors for use by the shell.

For the record, I also built this series with Guile 2.0.9, by modifying
‘guix.scm’ to refer to it instead of ‘guile-3.0’ and turning off tests
(since they require (srfi srfi-64), which 2.0.9 doesn’t have).

It appears to work fine and passes this test:

  timeout 10m \
  /gnu/store/3ylfablfwsdaapgk2y3x8yjchmapasxs-gash-0.3.0.6-f988cb-dirty/bin/gash -c 'exec 7>/dev/null; while true; do echo $(sh --version) > /dev/null; done'

Ludo’.