Hi !
thanks to Jack and Roman this bash script successfully restarts pd:
#!/bin/bash sudo puredata /path/to/patch.pd & PID1=$!
while true do if [ ! -d /proc/$PID1 ] then sudo puredata /path/to/patch.pd & PID1=$! fi sleep 1 done
what i don’t yet get is: what happens if pd is still running but hanging in limbo, frozen in the watchdog loop. i mean sometimes pd is still running but does not output sound or react to input… is there a solution to kill and restart pd in such a case?
Thanks ! Michael