File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -302,9 +302,14 @@ Use :method:`Symfony\\Component\\Process\\Process::disableOutput` and
302
302
You can not enable or disable the output while the process is running.
303
303
304
304
If you disable the output, you cannot access ``getOutput ``,
305
- ``getIncrementalOutput ``, ``getErrorOutput `` or ``getIncrementalErrorOutput ``.
306
- Moreover, you could not pass a callback to the ``start ``, ``run `` or ``mustRun ``
307
- methods or use ``setIdleTimeout ``.
305
+ ``getIncrementalOutput ``, ``getErrorOutput ``, ``getIncrementalErrorOutput `` or
306
+ ``setIdleTimeout ``.
307
+
308
+ However, it is possible to pass a callback to the ``start ``, ``run `` or ``mustRun ``
309
+ methods to handle process output in a streaming fashion.
310
+
311
+ .. versionadded :: 3.1
312
+ The ability to pass a callback to these methods when output is disabled was added in Symfony 3.1.
308
313
309
314
.. _`Symfony Issue#5759` : https://github.com/symfony/symfony/issues/5759
310
315
.. _`PHP Bug#39992` : https://bugs.php.net/bug.php?id=39992
You can’t perform that action at this time.
0 commit comments