File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -125,14 +125,15 @@ are done doing other stuff::
125
125
process is completed.
126
126
127
127
.. note ::
128
- If a `Response ` is sent **before ** what `Process ` is running had a chance to complete,
128
+
129
+ If a ``Response `` is sent **before ** what ``Process `` is running had a chance to complete,
129
130
the server process will be killed (depending on your OS). It means that your task
130
- will be stopped right away.
131
- Running an asynchronous process is not the same than running a processing surviving yourselves.
131
+ will be stopped right away. Running an asynchronous process is not the same than running
132
+ a processing surviving yourselves.
132
133
133
134
If you want your process to survive the request/response cycle, you could take
134
- advantage of the `kernel.terminate ` event, and run your command **synchronuously **
135
- inside this event. Be aware that `kernel.terminate ` is called only if you run `PHP-FPM `.
135
+ advantage of the `` kernel.terminate ` ` event, and run your command **synchronuously **
136
+ inside this event. Be aware that `` kernel.terminate `` is called only if you run `` PHP-FPM ` `.
136
137
137
138
:method: `Symfony\\ Component\\ Process\\ Process::wait ` takes one optional argument:
138
139
a callback that is called repeatedly whilst the process is still running, passing
You can’t perform that action at this time.
0 commit comments