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
104
104
105
105
The feature to configure process options was introduced in Symfony 5.2.
106
106
107
- .. caution ::
108
-
109
- Windows only
110
-
111
107
Symfony uses the PHP :phpfunction: `proc_open ` function to run the processes.
112
108
You can configure the options passed to the ``other_options `` argument of
113
109
``proc_open() `` using the ``setOptions() `` method::
@@ -116,6 +112,12 @@ You can configure the options passed to the ``other_options`` argument of
116
112
// this option allows a subprocess to continue running after the main script exited
117
113
$process->setOptions(['create_new_console' => true]);
118
114
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
+
119
121
Using Features From the OS Shell
120
122
--------------------------------
121
123
@@ -574,3 +576,4 @@ whether `TTY`_ is supported on the current operating system::
574
576
.. _`PHP streams` : https://www.php.net/manual/en/book.stream.php
575
577
.. _`output_buffering` : https://www.php.net/manual/en/outcontrol.configuration.php
576
578
.. _`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