Skip to content

Commit 42b67d8

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: create_new_console option only on Windows
2 parents 6a95c39 + c9e0e92 commit 42b67d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/process.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ You can configure the options passed to the ``other_options`` argument of
108108
// this option allows a subprocess to continue running after the main script exited
109109
$process->setOptions(['create_new_console' => true]);
110110

111+
.. caution::
112+
113+
Most of the options defined by ``proc_open()`` (such as ``create_new_console``
114+
and ``suppress_errors``) are only supported on Windows operating systems.
115+
Check out the `PHP documentation for proc_open()`_ before using them.
116+
111117
Using Features From the OS Shell
112118
--------------------------------
113119

@@ -596,3 +602,4 @@ whether `TTY`_ is supported on the current operating system::
596602
.. _`PHP streams`: https://www.php.net/manual/en/book.stream.php
597603
.. _`output_buffering`: https://www.php.net/manual/en/outcontrol.configuration.php
598604
.. _`TTY`: https://en.wikipedia.org/wiki/Tty_(unix)
605+
.. _`PHP documentation for proc_open()`: https://www.php.net/manual/en/function.proc-open.php

0 commit comments

Comments
 (0)