-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug when cmdline contains empty args
When a process cmdline contains multiple null bytes in a row, psutil splits it such that you have some empty arguments. This meant that i3-resurrect would assume it was a multi-argument command, and would not split cmdline[0]. I have fixed this by removing all empty arguments from the cmdline at the beginning of get_window_command().
- Loading branch information
1 parent
48f4ca9
commit f7ac7c0
Showing
2 changed files
with
22 additions
and
6 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