From 3a0e8e2ada1f2a391b9115e01e603caf74103beb Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Thu, 18 Jan 2007 17:02:24 +0000 Subject: [PATCH] document bypass_shell option comment the pty docs, as the code was disabled on php sources for a loong time git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227530 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/exec/functions/proc-open.xml | 39 ++++++++++++++++++++------ 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/reference/exec/functions/proc-open.xml b/reference/exec/functions/proc-open.xml index 12469db246..aa3aa42f63 100644 --- a/reference/exec/functions/proc-open.xml +++ b/reference/exec/functions/proc-open.xml @@ -1,5 +1,5 @@ - + @@ -23,6 +23,8 @@ proc_open is similar to popen but provides a much greater degree of control over the program execution. + + + @@ -56,8 +60,8 @@ process. 0 is stdin, 1 is stdout, while 2 is stderr. - The currently supported pipe types are file, - pipe and pty. + The currently supported pipe types are file and + pipe . The file descriptor numbers are not limited to 0, 1 and 2 - you may @@ -103,9 +107,18 @@ other_options - Allows you to specify additional options. Currently only - suppress_errors is supported, which suppresses - errors generated by this function when it's set to &true; + Allows you to specify additional options. Currently supported options + include: + + + suppress_errors (windows only): suppresses errors + generated by this function when it's set to &true; + + + bypass_shell (windows only): bypass + cmd.exe shell when set to &true; + + @@ -134,12 +147,18 @@ + + 5.2.1. + + Added the bypass_shell option to the + other_options parameter. + + 5.0.0. Added the cwd, env and - other_options parameters. Added support for - Unix98 ptys. + other_options parameters. @@ -203,6 +222,8 @@ command returned 0 + + +