Andy Wingo <wi...@igalia.com> skribis: > On Tue 19 Jul 2016 00:22, l...@gnu.org (Ludovic Courtès) writes: > >> To recap, the difficulty with all this is that we couldn’t just call out >> the ‘gzip’ command because ‘guix publish’ uses threads, and threads and >> fork(2) don’t go together well. > > FWIW open-pipe or open-process from (ice-9 popen) should work reliably. > The child is carefully written to be async-signal-safe before the > execve().
Yes, but ‘filtered-output-port’, used by ‘compressed-output-port’ in (guix utils) is not implemented in terms of (ice-9 popen). Ludo’.