We had developed watchdog KuWatchDog which controls working your app and restarts it automatically if your app is not responding. (Built for Windows, openFrameworks, VS 2015)

It is made using OSC massages and batch files: your app must send any OSC message to specified port, which is listened by watchdog.  If no OSC messages arrived, watchdog closes itself. Normally it is run from batch file, which terminates your app, then restarts your app and watchdog. Please see example of usage with Pure Data patch in bin/pd-example folder.

We use this watchdog for restarting Pure Data paches working with several USB sound cards if some card was disconnected.

The watchdog was originally developed for project “Connection is restored” with Anastasia Krochaleva.