Hi, Wmaker was crashing due a signal 11 caused by changes i had made in src/switchmenu.c. This made me note one thing. The wmaker has two scripts (autostart and exitscript), located in '~/GNUstep/Library/WindowMaker/' to launch and finish programs. When an 'signal 11' occur, the wmaker is restarted and everything goes fine. But the exitscript is not called and a program called desklaunch that was started before called by autostart script, now has two running processes.(understood?) To solve this situation i added these lines in src/monitor.c (patch attached). []
Hi, Your are right, if signal 11 occur, the script is not used. But, signal 11 is an error, it must not happen. We should control the error cases? Is possible handle all error cases? The current wmaker version doesn't have signals 11, it is fine, and IMO this patch should not included. What do you think? Cheers, kix