<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <blockquote type="cite"><br>
      <table class="header-part1" width="100%" cellspacing="0"
        cellpadding="0" border="0">
        <tbody>
          <tr>
            <td>
              <div class="headerdisplayname" style="display:inline;">Subject:
              </div>
              Re: [PD] Is it possible to specify relative path inside
              pd~ object for -pddir argument ?</td>
          </tr>
          <tr>
            <td>
              <div class="headerdisplayname" style="display:inline;">From:
              </div>
              IOhannes m zmölnig <a class="moz-txt-link-rfc2396E" href="mailto:zmoelnig@iem.at"><zmoelnig@iem.at></a></td>
          </tr>
          <tr>
            <td>
              <div class="headerdisplayname" style="display:inline;">Date:
              </div>
              13/01/2021 à 15:22</td>
          </tr>
        </tbody>
      </table>
      <table class="header-part2" width="100%" cellspacing="0"
        cellpadding="0" border="0">
        <tbody>
          <tr>
            <td>
              <div class="headerdisplayname" style="display:inline;">To:
              </div>
              <a class="moz-txt-link-abbreviated" href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      On 1/13/21 10:03 AM, Jean-Yves Gratius wrote:
      <br>
      <blockquote type="cite" style="color: #000000;">Hi,
        <br>
        <br>
        I'm trying to specify a relative path
        <br>
      </blockquote>
      <br>
      use an absolute path?
      <br>
      [pdcontrol[ to the rescue!
      <br>
      <br>
      fgmrda
      <br>
      IOhannes
      <br>
    </blockquote>
    <p>Ok for using [pdcontrol] to obtain absolute paths.<br>
    </p>
    <p>So I did some investigations (Ubuntu 18.04-5, Reaper, latest pd
      vanilla and camomile v1.0.8-beta)<br>
    </p>
    <p>1)    absolute paths for pddir and scheddir work fine, both in pd
      vanilla and in camomile, when hardcoded as arguments of pd~ box.</p>
    <p>2)   <br>
    </p>
    <p> [pd~ pddir  <absolute path for pd bin>, pd~ start
      subprocess.pd(<br>
      |<br>
      [pd~ -ninsig 2 -noutsig 2 -fifo 20]</p>
    <p>works well in pd vanilla,  although you cannot send  a [pd
      ~scheddir xxxxx(  message.  (but if you put pdsched with pd
      binaries, it's ok)<br>
    </p>
    <p>In my tests, (2) doesn't work in camomile.</p>
    <p>3) Now a workaround  will be to dynamically create the pd~ box
      with all hardcoded arguments cooked from [pdcontrol]</p>
    <p>Jean-Yves Gratius<br>
    </p>
    <p><br>
    </p>
    <br>
  </body>
</html>