Skip to content

Commit 020f1b7

Browse files
Fixed some syntax issues
1 parent 64de236 commit 020f1b7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

components/process.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,15 @@ are done doing other stuff::
125125
process is completed.
126126

127127
.. 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,
129130
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.
132133

133134
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``.
136137

137138
:method:`Symfony\\Component\\Process\\Process::wait` takes one optional argument:
138139
a callback that is called repeatedly whilst the process is still running, passing

0 commit comments

Comments
 (0)