mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 01:32:42 +01:00 
			
		
		
		
	restore SIGCHLD settings to SIG_DFL.
This commit is contained in:
		@@ -88,6 +88,7 @@ inline int32_t forkExec(std::string cmd) {
 | 
			
		||||
  // Child executes the command
 | 
			
		||||
  if (!pid) {
 | 
			
		||||
    setpgid(pid, pid);
 | 
			
		||||
    signal(SIGCHLD, SIG_DFL);
 | 
			
		||||
    execl("/bin/sh", "sh", "-c", cmd.c_str(), (char*)0);
 | 
			
		||||
    exit(0);
 | 
			
		||||
  } else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user