News for hackers. Stuff that matters.
Re:Fork() is evil; vfork() is goodness; afork() would be bet... by cryptonector on Tuesday March 01, 2022 @11:11PM (#30523589)
A better approach is to exec an intermediate helper program that will do it and then exec the actual intended program. One can also use this approach to do things like reset signal dispositions to SIG_IGN.
Re:Fork() is evil; vfork() is goodness; afork() would be bet... by kazinator on Tuesday March 01, 2022 @11:46PM (#30523845)
... add another option to /usr/bin/env and you got it!