File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,21 @@ with a non-zero code)::
102102 :method: `Symfony\\ Component\\ Process\\ Process::getLastOutputTime ` method.
103103 This method returns ``null `` if the process wasn't started!
104104
105+ Configuring Process Options
106+ ---------------------------
107+
108+ .. versionadded :: 5.2
109+
110+ The feature to configure process options was introduced in Symfony 5.2.
111+
112+ Symfony uses the PHP :phpfunction: `proc_open ` function to run the processes.
113+ You can configure the options passed to the ``other_options `` argument of
114+ ``proc_open() `` using the ``setOptions() `` method::
115+
116+ $process = new Process(['...', '...', '...']);
117+ // this option allows a subprocess to continue running after the main script exited
118+ $process->setOptions(['create_new_console' => true]);
119+
105120Using Features From the OS Shell
106121--------------------------------
107122
You can’t perform that action at this time.
0 commit comments