Ludovic Courtès schreef op do 28-04-2022 om 00:01 [+0200]: > > Also, having to do fork, waitpid and primitive-fork seems rather > > low-level to me, so I prefer moving this code into somewhere like > > (gnu build SOMEWHERE) or to keep the old make-forkexec- > > constructor/container code. > > ‘primitive-fork’ and ‘waitpid’ calls are in (gnu build linux- > container) > right now so I guess we’re fine? Their use in (gnu build linux-container) seems fine to me, but their use in %ipfs-activation doesn't: > + #~(let ((pid (primitive-fork))) > + (if (zero? pid) > + (dynamic-wind > + (const #t) > + (lambda () > + [...] (execl #$(ipfs-binary config) #$@args))) > + (lambda () > + (primitive-exit 127))) Greetings, Maxime.