Skip to content

Commit c9e0e92

Browse files
committed
Reword
1 parent 68e00ca commit c9e0e92

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

components/process.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,6 @@ Configuring Process Options
104104

105105
The feature to configure process options was introduced in Symfony 5.2.
106106

107-
.. caution::
108-
109-
Windows only
110-
111107
Symfony uses the PHP :phpfunction:`proc_open` function to run the processes.
112108
You can configure the options passed to the ``other_options`` argument of
113109
``proc_open()`` using the ``setOptions()`` method::
@@ -116,6 +112,12 @@ You can configure the options passed to the ``other_options`` argument of
116112
// this option allows a subprocess to continue running after the main script exited
117113
$process->setOptions(['create_new_console' => true]);
118114

115+
.. caution::
116+
117+
Most of the options defined by ``proc_open()`` (such as ``create_new_console``
118+
and ``suppress_errors``) are only supported on Windows operating systems.
119+
Check out the `PHP documentation for proc_open()`_ before using them.
120+
119121
Using Features From the OS Shell
120122
--------------------------------
121123

@@ -574,3 +576,4 @@ whether `TTY`_ is supported on the current operating system::
574576
.. _`PHP streams`: https://www.php.net/manual/en/book.stream.php
575577
.. _`output_buffering`: https://www.php.net/manual/en/outcontrol.configuration.php
576578
.. _`TTY`: https://en.wikipedia.org/wiki/Tty_(unix)
579+
.. _`PHP documentation for proc_open()`: https://www.php.net/manual/en/function.proc-open.php

0 commit comments

Comments
 (0)