[PD] os x pd restart shellscript
rainer kohlberger
rainer at kohlberger.net
Mon Sep 5 13:49:04 CEST 2005
hi.
finally i've come up to this dirty script:
-------------------
#!/bin/sh
while [ "forever" ]
do
ps -x | grep "/Applications/Pd-0.38.4.app" | grep "guiport" > /dev/null ||
/Applications/Pd-0.38.4.app/Contents/MacOS/Pd &
sleep 20
done
--------------------
- you have to write the -open command for the patch to open into .pdrc
- the second grep is for deleting the ps-info of the grep itself
(as i telled, pgrep is not available)
- the script is running until it is killed
r.
More information about the Pd-list
mailing list