<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 28/05/2013 20:14, Antoine Villeret a
      &eacute;crit&nbsp;:<br>
    </div>
    <blockquote
cite="mid:CAGn5wNcgnhCfozjvhRfnU3AJp31iTxnSVWNf5PmXP=au3eeqVw@mail.gmail.com"
      type="cite">
      <div dir="ltr">hi,&nbsp;
        <div><br>
        </div>
        <div>I'm calling a new instance of Pd inside a Pd patch with
          [shell]</div>
        <div>but I notice I can't quit the main pd instance if a process
          is still running inside the [shell]</div>
        <div><br>
        </div>
        <div>the GUI hangs until the process ends (until I quit Pd)</div>
        <div>since the child pd is running without gui,&nbsp;</div>
        <div><br>
        </div>
        <div>1) is it possible to exit a running process via [shell] ?</div>
        <div>for example how could I send a ^c (ctrl+c) command ?</div>
        <div><br>
        </div>
        <div>2) moreover, how to trig it when I press ctrl+Q or menu
          quit ?</div>
        <div><br>
        </div>
        <div>3) the [noquit] abstraction gives me a tcl error : "can't
          rename menu_quit command doesn't exists"</div>
        <div><br>
        </div>
        <div style="">I'm running pd vanilla 0.44-2</div>
        <div><br>
        </div>
        <div>thanks for help</div>
        <div><br>
        </div>
        <div>antoine</div>
        <div><br>
        </div>
        <div>
          <div>--<br>
            do it yourself &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
            <a moz-do-not-send="true"
              href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    Hello Antoine,<br>
    <br>
    With the message [pd &amp; echo $!( to [shell], you should get the
    PID of the subprocess. A [kill number_PID( to [shell] should kill
    this subprocess.<br>
    ++<br>
    <br>
    Jack<br>
    <br>
    <br>
  </body>
</html>