File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff 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-
111107Symfony uses the PHP :phpfunction: `proc_open ` function to run the processes.
112108You 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+
119121Using 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
You can’t perform that action at this time.
0 commit comments