POpen en PClose

Adriaan van Os via fpc-pascal <[email protected]> Mon, 20 Jul 2026 08:13:33 +0000 (UTC)
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============5343684928397525138==
Content-Type: multipart/alternative;
 boundary="------------VQMxjv1P4wJ2TwpWFlIeNspd"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------VQMxjv1P4wJ2TwpWFlIeNspd
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit


I am looking at the implementation of POpen and PClose in the 
runtime-library for Darwin (or more general for UNIX). It seems like it 
doesn't call into libc popen and pclose, but instead follows its own 
implementation in unix.pp in POpen_internal. I am just curious to know 
the reason.

Regards,

Adriaan van Os

--------------VQMxjv1P4wJ2TwpWFlIeNspd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <font face="Helvetica, Arial, sans-serif">I am looking at the
      implementation of POpen and PClose in the runtime-library for
      Darwin (or more general for UNIX). It seems like it doesn't call
      into libc popen and pclose, but instead follows its own
      implementation in unix.pp in POpen_internal. I am just curious to
      know the reason.<br>
      <br>
      Regards,<br>
      <br>
      Adriaan van Os<br>
      <br>
    </font>
  </body>
</html>

--------------VQMxjv1P4wJ2TwpWFlIeNspd--

--===============5343684928397525138==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

--===============5343684928397525138==--