mirror of
https://github.com/hyprwm/hyprutils.git
synced 2024-11-17 06:05:59 +01:00
parent
91c1634727
commit
315fba5d21
1 changed files with 3 additions and 0 deletions
|
@ -142,6 +142,9 @@ bool Hyprutils::OS::CProcess::runSync() {
|
|||
close(outPipe[0]);
|
||||
close(errPipe[0]);
|
||||
|
||||
// reap child
|
||||
waitpid(pid, nullptr, 0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue