On Thu Jul 21, 2022 at 3:52 PM BST, Maxime Devos wrote: > * Add a macro '#define system ...' that calls this variant and inserts > __guix_bin_sh as the shell executable
Would this not violate POSIX? Since, as far as I can see, <https://pubs.opengroup.org/onlinepubs/9699919799/functions/system.html> does not give the implementation license to implement system(3) as a macro. We could do ``` int system(const char *command) { return __guix_run_in_shell(command, __guix_bin_sh); } ``` though. -- (