4 ms·
Nope, execve() and friends ending in 'e' accept a pointer to a completely new set of environment variables, no need to do setenv. Windows has _execve() too.
by pajko 3y ago
Nope, execve() and friends ending in 'e' accept a pointer to a completely new set of environment variables, no need to do setenv. Windows has _execve() too.
- usrbinbash 3y agoThe fact that there is an alternative doesn't change the fact that a lot of software relies on the worse method to work.
- rerdavies 3y agoA lot of software doesn't modify the environment when exec-ing.
- usrbinbash 3y agoSo? A lot of software doesn't use file compression, should we remove these libraries?
- naniwaduni 3y agoIt makes it a pretty silly idea to invite people writing new programs in a new language to use that method, though.