[PD] communication with system ...

IOhannes m zmoelnig zmoelnig at iem.at
Wed Mar 2 12:33:31 CET 2016


On 2016-03-02 12:20, oliver wrote:
> both objects are very old and i just wanted to ask, if there's a little
> more "up to date" way to do this 

how would you envision an "up to date" way to run a system command?
how would it differ from what you have now?

(i could think of: query some cloud-based service via REST and get the
answer back in JSON. that should be doable with "PuREST JSON", but i
don't know any web-service for such a thing)


> - probably with vanilla objects only.

[netsend]/[netreceive] and a second process running a bash-loop that
receives any commands via "pdreceive", evals them and send them back via
"pdsend".

probably not what you are looking for, though i have used this in the
past (as it gracefully handles stalling and crashing processes).

fgamsdr
IOhannes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160302/bfafdf0b/attachment.sig>


More information about the Pd-list mailing list