You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: console/calling_commands.rst
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,11 @@ method)::
49
49
:class:`Symfony\\Component\\Console\\Output\\NullOutput` as the second
50
50
argument to ``$command->run()``.
51
51
52
+
53
+
.. tip::
54
+
55
+
If you want to call the command non interactively (from a console that is capable of that), you have to set it manual on the ``Input`` object ``$greetInput->setInteractive(false);``.
56
+
52
57
.. caution::
53
58
54
59
Note that all the commands will run in the same process and some of Symfony's
0 commit comments