mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
8f4bc0a374
Fixes child proccess killing, when status_command is a complex command like "i3status | wrapper.sh". Set the process group id of the child process by calling `setpgid` after forking and before calling `exec`. The process group ID will be set to the process ID of the forked process. Processes spawned by this child process will also have this group ID. Send signals to the process group with `killpg`. This will send the signal to all of the process group. |
||
---|---|---|
.. | ||
bar.c | ||
CMakeLists.txt | ||
config.c | ||
ipc.c | ||
main.c | ||
render.c | ||
status_line.c |