mirror of
https://github.com/Alexays/Waybar.git
synced 2025-10-29 19:46:32 +00:00
Revert "custom: reap zombie processes on termination"
This reverts commit 1c1a39f597051799b86449b673782daa0376e386.
This commit is contained in:
parent
c6a9b63189
commit
e7c2e90236
@ -112,10 +112,6 @@ inline FILE* open(const std::string& cmd, int& pid) {
|
||||
execlp("/bin/sh", "sh", "-c", cmd.c_str(), (char*)0);
|
||||
exit(0);
|
||||
} else {
|
||||
reap_mtx.lock();
|
||||
reap.push_back(child_pid);
|
||||
reap_mtx.unlock();
|
||||
|
||||
::close(fd[1]);
|
||||
}
|
||||
pid = child_pid;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user