[PD] Control external command from Pd

Roman Haefeli reduzent at gmail.com
Thu Dec 1 15:01:57 CET 2016


On Thu, 2016-12-01 at 14:01 +0100, Jack wrote:
> OK, i see now.
> 
> For me, the best option is to do a bash script "myscript.bash" :
> 
> while read line
> do
>     echo "$line"
> done < <(ping netpd.org & echo $!)
> 
> 
> Then with pd :
> 
> [bash myscript.bash(
> > 
> > 
> [shell]
> 
> You should be able to terminate the process with the pid return by
> echo $!


You made my day. That's exactly what I was looking for.


Thanks!
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20161201/59229b5b/attachment-0001.sig>


More information about the Pd-list mailing list