-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The interaction is not being off when I call the migration command within another command #23
Comments
Try removing the call $command->interact($input, $output); and adding $inputArguments->setInteractive(false); |
@caciobanu Thanks for quick response. |
Wait. Looks like you updated your comment Thanks |
@caciobanu I am running to another issue now.
|
|
Thanks @caciobanu |
Hi.
I am trying to run the command inside another command using a loop for all DBs.
Unfortunately, the process doesn't go through because it keeps asks for the confirmation on each call.
I tried different ways to pass the option
--no-interaction
. But, no luck.When I run the command
mongodb:migrations:migrate
by itself and passing the option, it works.Here is my code:
Could you advise a solution?
The text was updated successfully, but these errors were encountered: