sway/swaybar
Yury Krivopalov 8f4bc0a374 swaybar: Group child processes for signalling
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.
2017-06-12 23:12:31 +03:00
..
bar.c swaybar: Group child processes for signalling 2017-06-12 23:12:31 +03:00
CMakeLists.txt Fix missing include paths 2016-04-28 20:08:41 +02:00
config.c UnGNUify the codebase 2017-03-10 23:41:24 -05:00
ipc.c UnGNUify the codebase 2017-03-10 23:41:24 -05:00
main.c Add -DVERSION flag for release version numbers 2017-04-26 15:56:46 +02:00
render.c add bar colours for focused_(workspace|statusline|separator) 2016-11-02 18:58:33 +01:00
status_line.c UnGNUify the codebase 2017-03-10 23:41:24 -05:00