r/linux • u/rain5 • May 28 '16
systemd developer asks tmux (and other programs) to add systemd specific code
https://github.com/tmux/tmux/issues/428
359
Upvotes
r/linux • u/rain5 • May 28 '16
View all comments
Show parent comment
-5
u/totallyblasted May 28 '16 edited May 28 '16
I will document my writing to NULL as well... that makes it ok, doesn't it? And since I did those intentionally, that makes it even better.
Even if it is intended and documented, if it goes out of scope of how it should work... it is not ok. Something should either be session or be software, not something in between. And if you need to run something in the background, there are far easier and more acceptable ways than cheating the session. Just being able to cheat session to do that is a bug. In case of problems like this, correct solution would be that tmux handed out its own sessions trough proxy while running in the correct userspace background which does not depend on user session. But, hey as long as it works... isn't it so? Off course, implementing it correctly is much more work than just doing the half assed way
When behaviour deviates so much it needs special treatment, it is just a case of lazy design