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:
parent
dcb548e32e
commit
a94b738407
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue