<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">Found: [shell]<br>
      <br>
      <br>
      <br>
      On 27/11/13 19:33, Mario Mey wrote:<br>
    </div>
    <blockquote cite="mid:52967332.1070404@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      I want to run a bash script (file.sh) from inside PureData, on
      Linux.<br>
      <br>
      I do this on Python, using
      subprocess.Popen(['/home/mario/script1.sh']).<br>
      <br>
      <b>More information of what I'm looking for:</b> 'script1.sh' has
      'gnome-terminal -e "/home/mario/script2.sh"' inside. So, a console
      terminal is opened (running the script) and, when I close the
      python code running, the subprocess "script1.sh" is closed... but
      the console with "script2.sh" running isn't.<br>
      <br>
      The "script2.sh" I want not to be closed will:<br>
      <br>
      - kill PureData<br>
      - kill Jack<br>
      - run Jack again (with different frequency rate and frame/buffer)<br>
      - run PureData (other patch)<br>
      - run BlenderPlayer<br>
    </blockquote>
    <br>
  </body>
</html>