mirror of
https://github.com/php/doc-fr.git
synced 2026-03-29 18:42:07 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@158354 c90b9560-bf6c-de11-be94-00142212c4b1
51 lines
1.6 KiB
XML
51 lines
1.6 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.5 $ -->
|
|
<!-- EN-Revision: 1.5 Maintainer: dams Status: ready -->
|
|
<refentry id="function.proc-close">
|
|
<refnamediv>
|
|
<refname>proc_close</refname>
|
|
<refpurpose>
|
|
Ferme un processus ouvert par proc_open() et retourne le code de sortie
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>proc_close</methodname>
|
|
<methodparam><type>resource</type><parameter>process</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>proc_close</function> est similaire à <function>pclose</function>
|
|
hormis le fait qu'elle fonctionne avec les processus ouverts par
|
|
<function>proc_open</function>.
|
|
<function>proc_close</function> attend que le processus <parameter>process</parameter>
|
|
se termine, puis retourne son code de sortie.
|
|
Si vous avez des pipes ouverts avec
|
|
ce processus, il faut les fermer avec <function>fclose</function> avant
|
|
d'appeler cette fonction pour éviter des verrouillages : le processus
|
|
peut ne pas pouvoir sortir tant que les pipes sont ouverts.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|