Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd86b33e

Browse files
committed
minor#18776 Update calling_commands.rst - call the command non interactively (Chris53897)
This PR was merged into the 6.4 branch.Discussion----------Update calling_commands.rst - call the command non interactivelysymfony/symfony#51339I am not sure which branch to chose. It is not a bug, not a new feature.https://github.com/symfony/symfony/blob/5.4/src/Symfony/Component/Console/Input/Input.php#L83Commits-------525dead Update calling_commands.rst - call the command non interactively
2 parentsfdd5743 +525dead commitd86b33e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎console/calling_commands.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ method)::
3636
'--yell' => true,
3737
]);
3838

39+
// disable interactive behavior for the greet command
40+
$greetInput->setInteractive(false);
41+
3942
$returnCode = $this->getApplication()->doRun($greetInput, $output);
4043

4144
// ...

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp