Waybar/include
cptpcrd df65cab17a Open command pipes as close-on-exec
Avoids a race where the pipe could be inherited by another process
spawning at about the same time. If the other process didn't exit
quickly (e.g. if it was a custom script that did its own looping), it
would keep the write end of the pipe open, and so reading from the pipe
to try to get the command's output would block.

This bug manifested as some custom modules randomly not appearing in the
bar, requiring a reload to fix. The custom script had run and exited,
but the pipe had been inherited by another process, and the thread that
updated the module's output was blocked trying to read from it.
2023-05-21 12:10:44 -04:00
..
modules separate css class for empty workspaces 2023-05-05 00:09:32 +05:30
util Open command pipes as close-on-exec 2023-05-21 12:10:44 -04:00
AIconLabel.hpp Happy clang 2023-03-02 16:57:32 +03:00
ALabel.hpp Happy clang 2023-03-02 16:57:32 +03:00
AModule.hpp fix: lint 2023-04-03 09:41:24 +02:00
IModule.hpp ISSUE#1977. AModule implements module actions call 2023-02-28 15:32:28 +03:00
bar.hpp refactor: lint 2022-04-06 08:37:19 +02:00
client.hpp refactor: lint 2022-04-06 08:37:19 +02:00
config.hpp Add support for reading the config path from env 2022-09-05 08:21:36 +02:00
factory.hpp Merge pull request #2103 from xdavidel/dwl-module 2023-04-17 09:01:00 +02:00
group.hpp Merge pull request #2037 from LukashonakV/Happy_clang 2023-03-02 19:42:38 +01:00