[PD] os x pd restart shellscript

federico xaero at inwind.it
Mon Sep 5 01:02:49 CEST 2005


rainer kohlberger ha scritto:

>
>
> hi,
>
>
> my *nix-experience is long ago + running out of time, so: has someone  
> of you made a shellscript running on OS X, that recognizes if Pd is  
> still runnig (with ps -cx | grep "pd" ?) and if it is not, restart Pd?
>     thanks! rainer.
>

you can try:

$ PDBIN=/usr/bin/pd ; pgrep $PDBIN &>/dev/null || $PDBIN

> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>





More information about the Pd-list mailing list