Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Stop forced exit

$
0
0

To get a signal, the program should be run in the loop while (1), and it is not suitable for the architecture of openframeworks - openframeworks the duty cycle is the glutmainloop(), and it is impossible to break into.
About the pipes - process.kill() to forcibly kills the process and no handling exit code in the app does not work.
To solve the problem I wrote a little program-companion, that periodically checks whether the process of my application, otherwise it executes the necessary commands.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>