3 ms·
Pretentious title with little substance to justify the claim. The inherited signal disposition mask with the blocked signals can be restored in a forked child p
by bluetomcat 2y ago
Pretentious title with little substance to justify the claim. The inherited signal disposition mask with the blocked signals can be restored in a forked child process, before an exec. Because it makes a shell-spawning function like system() even less desirable, doesn’t render it “useless”.
- lmz 2y agoThe whole signal mask / handler thing (and inherited FDs to a certain extent) certainly make a function to "just launch another program" harder to write.
- bluetomcat 2y agoIt’s an essential part of the Unix process model. The whole design feels dated and centered around shells and terminals. A more productive endeavour would be to propose a new design without all these warts. Not cherry-picking and whining about random aspects, without seeing the big picture.