[PHP-DOC] cvs: phpdoc /it/functions exec.xml From: Luca Perugini (l.perugini <email protected>)
Date: 08/31/00

perugini Thu Aug 31 09:32:26 2000 EDT

  Modified files:
    /phpdoc/it/functions exec.xml
  Log:
  Sync with en tree.
  
  
Index: phpdoc/it/functions/exec.xml
diff -u phpdoc/it/functions/exec.xml:1.3 phpdoc/it/functions/exec.xml:1.4
--- phpdoc/it/functions/exec.xml:1.3 Sat Jun 24 00:38:44 2000
+++ phpdoc/it/functions/exec.xml Thu Aug 31 09:32:26 2000
@@ -90,6 +90,13 @@
      cannot trick the system into executing arbitrary commands.
     </para>
     <para>
+ Note also that if you start a program using this function and
+ want to leave it running in the background, you have to make
+ sure that the output of that program is redirected to a file or
+ some other output stream or else PHP will hang until the
+ execution of the program ends.
+ </para>
+ <para>
      See also <function>system</function>,
      <function>PassThru</function>, <function>popen</function>,
      <function>EscapeShellCmd</function>, and the <link
@@ -131,6 +138,13 @@
      then calling a pbmplus program to output a gif, you can create
      PHP scripts that output images directly.</para>
     <para>
+ Note that if you start a program using this function and want to
+ leave it running in the background, you have to make sure that the
+ output of that program is redirected to a file or some other
+ output stream or else PHP will hang until the execution of the
+ program ends.
+ </para>
+ <para>
      See also <function>exec</function>, <function>system</function>,
      <function>popen</function>, <function>EscapeShellCmd</function>,
      and the <link linkend="language.operators.execution">backtick
@@ -169,6 +183,13 @@
      <function>EscapeShellCmd</function> function to make sure that
      users cannot trick the system into executing arbitrary
      commands.
+ </para>
+ <para>
+ Note also that if you start a program using this function and want
+ to leave it running in the background, you have to make sure that
+ the output of that program is redirected to a file or some other
+ output stream or else PHP will hang until the execution of the
+ program ends.
     </para>
     <para>
      The <function>System</function> call also tries to automatically