Something like this ? :
[netreceive -u 5678] | [print]
You can also add 2>&1 if you want to redirect error. This could give something like :
$ ls 2>&1 | pdsend 5678 localhost udp
or
$ output=$(ls 2>&1) ; echo -e "$?\n$output" | pdsend 5678 127.0.0.1 udp
The first line will give you the return code of your command and next lines the stdout or stderr (redirected in stdout). ++
Jack
Le 28/05/2017 à 20:06, oliver a écrit :
cyrille henry wrote:
if the comand you execute is somthing like : ls | pdsend 5678 localhost udp
then you can get the result of the command in pd event if the object used have no feedback.
thanks ! but how would this work the other way round ?
best
oliver
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list