[PD] communicating with the shell

Martin Schied crinimal at gmx.net
Thu Feb 5 15:17:21 CET 2009

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: puredata-bash-communicator_udp.tgz
Type: application/x-gtar
Size: 859 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090205/200557c2/attachment.tgz>

More information about the Pd-list mailing list