I’m trying to schedule a shutdown of OSX such that my app runs nicely each day but ofx halts the shutdown process. Is there an easy way to kill an openframeworks app?
but on OSX - something like “shutdown -r now” that doesn’t require being a super user - or something like “kill” that doesn’t require me knowing the PID only the app name
Is there anyway to make an OFX app respond to the SIGTERM and SIGKILL notifications?
I’m using a launch agent to startup the app and it says in the doco that it sends a sigterm (or a sigkill based on the " EnableTransactions" value in the launch agent plist but ofx seems to ignore this.