Hacker News new | ask | show | jobs
by cryptonector 1576 days ago
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.
1 comments

... add another option to /usr/bin/env and you got it!