bug#52835: [PATCH 0/2] Fix spawning a child not setting standard fds properly

2022-12-25 Thread Ludovic Courtès
Hi Josselin, Josselin Poiret skribis: > I've added a convenience module (ice-9 spawn) with a `spawn` procedure > in it, which takes an optional argument list which defaults to just the > executable, and optional environment variables as well as in, out and > err ports. I also think everything i

bug#52835: [PATCH 0/2] Fix spawning a child not setting standard fds properly

2022-12-25 Thread Ludovic Courtès
Josselin Poiret skribis: > * libguile/posix.c: Include spawn.h from Gnulib. > (do_spawn, scm_spawn_process): New functions. > * module/ice-9/spawn.scm: New file > (spawn): New procedure. > --- > libguile/posix.c | 82 ++ > libguile/posix.h | 2

bug#52835: [PATCH 0/2] Fix spawning a child not setting standard fds properly

2022-12-25 Thread Ludovic Courtès
Josselin Poiret skribis: > * libguile/posix.c (scm_system_star, scm_piped_process): Use do_spawn. > (start_child): Remove function. LGTM, thanks!