<div dir="ltr"><div><div><div>Hi all,<br><br></div><div>I&#39;m having some troubles with two pd instances and [shell].<br><br></div><div>I launch a patch with the first Pd instance from the terminal. Here, i use [shell] to  create a new patch and open it with a second Pd instance.<br>

<br></div><div>when the new patch is loaded, it sends a [quit( message to [noquit] to the first pd-instance patch, via OSC, in order to kill it.<br><br></div><div>everything works fine until the first instance receive the OSC message. At this point, the pd process is killed but the GUI freezes on the screen, and the terminal freezes too.<br>

</div><div><br></div><div>If I launch the first Pd instance from the terminal with &#39;&amp;&#39;, and then run the script through<br></div><div> the same terminal, it works fine.<br></div><div><br></div><div>this below is the script. nothing fancy.<br>

<br></div><div>any idea why the process doesn&#39;t work? <br><br></div><div>thanksss!<br></div><div><br></div><div><br>\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\<br>#!/bin/bash<br><br>NEWPATCH=$1<br>cp /usr/share/Xth-Sense/Xth-Sense.pd $HOME/Desktop/$NEWPATCH.pd;<br>

sleep 2;<br>pdextended -alsa $HOME/Desktop/$NEWPATCH.pd;<br>exit<br></div></div>\\\\\\\\\\\\\\\\\\<br><br></div><br><div><div><div><div><br><br clear="all"><div>--<br>Marco Donnarumma<br>New Media + Sonic Arts Practitioner, Performer, Teacher, Director.<br>

Embodied Audio-Visual Interaction Research Team.<br>Department of Computing, Goldsmiths University of London<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Portfolio: <a href="http://marcodonnarumma.com" target="_blank">http://marcodonnarumma.com</a><br>

Research: <a href="http://res.marcodonnarumma.com" target="_blank">http://res.marcodonnarumma.com</a><br>Director: <a href="http://www.liveperformersmeeting.net" target="_blank">http://www.liveperformersmeeting.net</a></div>


</div></div></div></div></div>