Chris McCormick wrote:
Attached is a concrete example of this for your specific use case. It allows you to run arbitrary commands on your shell and get the results back into Pd. I know you said that this seems messy to you, but I feel that Claude's way is actually quite elegant.Untar the attached, and then do: pd -open runme.pd &; sleep 5; ./listener
thanks, that's very useful...i changed it to udp version using netcat - useful when using a remote machine without pd or for saving some tcp overhead on local use. unfortunately it doesn't support disconnects (port number of pd changes on reconnect). Using netcat with tcp should be possible as well, using Chris's version and netcat instead of pdreceive / pdsend.
Martin
puredata-bash-communicator_udp.tgz
Description: GNU Unix tar archive
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list