<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">And does anybody know if any of them are blocking so that the timing of 
an external script is deterministic from within Pd's logical timeframe?</blockquote><div><br></div><div>afaik only [system] is blocking, while [shell] and [popen] use Pd polling system through Pd main loop.<br><br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I find it hard to kill a still running command, especially when I want to kill a specific one when many are running.</blockquote><div><br></div><div>I would suggest writing your own script, that would call jacktrip, and which would take an additional (but ignored) ID parameter, which could then be used to identify each of the processes, to allow killing them individually with pkill.<br><br></div><div>For instance:<br><br></div><div>[my_script.sh ID1 ACTUAL_PARAMETERS &]<br>|<br></div><div>[shell or system or popen]<br><br></div><div>then:<br><br></div><div>[pkill -f my_script.sh ID1 &]<br>|<br>[shell or system or popen]<br><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"> Antoine Rousseau </font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">  <a href="http://metalu.net" target="_blank">http://www.metalu.net</a> __ <a href="http://www.metaluachahuter.com/compagnies/al1-ant1/" target="_blank">http://www.metaluachahuter.com/</a><br><br></font></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-05-29 11:40 GMT+02:00 Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2017-05-29 at 10:50 +0200, Antoine Rousseau wrote:<br>
> for full duplex:<br>
><br>
> pdreceive 5678 | your_command | pdsend 6789 &<br>
><br>
> see attached patch (using ggee/shell, but would also works with e.g<br>
> motex/system).<br>
><br>
<br>
</span>Thansks. From what I understand this allows you to write to talk to the<br>
stdin of the launched command. That's a neat trick.<br>
<br>
My main problem is still that I find it hard to kill a still running<br>
command, especially when I want to kill a specific one when many are<br>
running. <br>
<span class="HOEnZb"><font color="#888888"><br>
Roman</font></span><br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>