On Sat 12 Aug 2023 at 11:58:36 +0000, Taylor R Campbell wrote: > Cons: > - POSIX doesn't ask system(3) to work when SIGCHLD is set to SIG_IGN > or when it has SA_NOCLDWAIT set, so this code is nonportable anyway; I read through https://pubs.opengroup.org/onlinepubs/007908799/xsh/system.html and it seems entirely silent on the matter. How does this mean that system(3) is allowed to fail in this situation? Since the state is not mentioned as a special case, I expect that it is supposed to work. -Olaf. -- ___ Olaf 'Rhialto' Seibert <rhialto/at/falu.nl> \X/ There is no AI. There is just someone else's work. --I. Rose
Attachment:
signature.asc
Description: PGP signature