This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of nagbar processes
Other changes in nagbar_exited: - Remove ERROR from ELOG as it shows up as "ERROR: ERROR:" - Make sure to reset the PID even when the process did not exit normally. - Use ELOG when exitcode != 0 - Remove the not found error: if nagbar is not in $PATH, exec_i3_utility prints an error as well. For the record, I also implemented a more complicated approach with a new watcher data structure: orestisfl/i3@bd3aaf3 While writing the commit message, it occurred to me to compare watcher->pid with *watcher->data, which fixes the problems mentioned in that patch. Fixes #4104
- Loading branch information
Showing
3 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters