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.master
							parent
							
								
									154cc8a9c3
								
							
						
					
					
						commit
						8f4bc0a374
					
				
					Loading…
					
					
				
		Reference in new issue