Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions reference/exec/functions/proc-open.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,12 @@
Each element can be:
<simplelist>
<member>An array describing the pipe to pass to the process. The first
element is the descriptor type and the second element is an option for
element is the descriptor type and the following elements are options for
the given type. Valid types are <literal>pipe</literal> (the second
element is either <literal>r</literal> to pass the read end of the pipe
to the process, or <literal>w</literal> to pass the write end) and
<literal>file</literal> (the second element is a filename).
<literal>file</literal> (the second element is a filename, and the third
element is the file mode, same as <function>fopen</function>).
Note that anything else than <literal>w</literal> is treated like <literal>r</literal>.
</member>
<member>
Expand Down