1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 09:20:38 +00:00

Prevent zombie processes with Shell _Dontwait

This commit is contained in:
Luke Ceddia 2021-07-13 13:08:27 +10:00
parent dcb548e32e
commit a94b738407
No known key found for this signature in database
GPG key ID: 319344384A0759B0

View file

@ -2097,6 +2097,10 @@ void QBMAIN(void *unused)
sigemptyset(&(sig_act.sa_mask));
sig_act.sa_flags = 0;
sigaction(SIGFPE, &sig_act, NULL);
#ifdef QB64_LINUX
sig_act.sa_handler = SIG_IGN;
sigaction(SIGCHLD, &sig_act, NULL);
#endif
#endif
ptrszint tmp_long;