-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sx doesn't kill while loops #22
Comments
This would be the responsibility of your script. Any background processes when the parent exits, unless it is cleaned up, will be orphaned and reaped by PID 1 (or a subreaper). You could fix this by installing a trap handler which kills the entire process group upon exiting, e.g.: trap 'kill 0' EXIT |
where should I put the handler? moreover, dbus is complaining about being unable to spawn a command:
|
The trap would be placed in your The dbus issues are unrelated and likely occur due to the lack of a |
sx doesn't kill while loops inside sxrc or external scripts.
example:
when I exit my WM (dwm) xsetroot says it can't open display 1 every minute. this issue doesn't happen on xinit.
--
distro: void linux
ver: 2.1.6
The text was updated successfully, but these errors were encountered: