<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/17/2013 11:56 PM, Neal Rhodes
      wrote:<br>
    </div>
    <blockquote cite="mid:1384750613.11614.916.camel@t4.mnopltd.com"
      type="cite">
      Which actually works.&nbsp;&nbsp;&nbsp; I cannot fathom how.&nbsp;&nbsp;&nbsp; The FM says it
      will read the passphrase from file descriptor 3.&nbsp; Uh...Stdin,
      Stdout, Stderr,&nbsp; There goes 0, 1, 2.&nbsp;&nbsp;&nbsp; uh, that would be a file
      defined within gpg? </blockquote>
    <br>
    You can open new file descriptors from the shell and pass things
    through, or (as is often the case with communication between a
    parent and child process) open pipes as file descriptors and use
    them as a comm channel.<br>
    <br>
    For example, if you have a UNIX socket that you'd like to connect to
    your application on fd 3 from the shell:<br>
    <br>
    $ application 3&lt;&gt;/path/to/socket<br>
    <br>
    You can do this for any number, including the standard
    output/input/error streams.<br>
    <br>
    &nbsp;&nbsp;&nbsp; &#8212; Mike<br>
    <br>
    <div class="moz-signature">-- <br>
      <table border="0">
        <tbody>
          <tr>
            <td> <br>
            </td>
            <td> Michael B. Trausch<br>
              <br>
              President, <strong>Naunet Corporation</strong><br>
              &#9742; (678) 287-0693 x130 or (855) NAUNET-1 x130<br>
              FAX: (678) 783-7843<br>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>