Subject: bug#62334: bug#63024: Guile's "sleep pipe" can leak into processes created by 'spawn'

From: Ludovic Courtès <[email-masked]>
Date: Mon, 08 May 2023 16:08:44 +0200

Hi Josselin,

Josselin Poiret <[email-masked]> skribis:

> Sorry for not noticing this thread sooner!  Here's my take on it, a minor
> variation but that's what I'd prefer tbh.

Even nicer!  Pushed to ‘main’ as two patches (I folded the test along
with the fix, for clarity) and with cosmetic changes to match GNU coding
style for C.

  36fd2b492 main origin/main Use /dev/null in 'piped-process' if port is not backed by a fdes.
  ccd7400fd Add error handling for spawn's posix_spawn_file_actions_adddup2.

Thanks!

Ludo’.