Forgot to cleanup zombie processes
This commit is contained in:
parent
0ca83d416b
commit
7d84a6c9f3
@ -493,6 +493,7 @@ static GtkWidget* create_label(char* mode, char* text, char* search_text, char*
|
||||
|
||||
if(pre_display_exec) {
|
||||
fclose(fp_labeltext);
|
||||
while(waitpid(-1, NULL, WNOHANG) > 0);
|
||||
} else {
|
||||
pclose(fp_labeltext);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user