-
Notifications
You must be signed in to change notification settings - Fork 94
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
No output after Artisan::call()
command
#74
Comments
Hi @syntafin, I've replicated this and found that it's the If you change them to This is how it's documented to call commands from other commands: https://laravel.com/docs/10.x/artisan#calling-commands-from-other-commands The Still, I don't see any reason why I'll leave this open to investigate properly when I get a chance. |
Artisan::call()
command
Thanks for the info! I will change it and try it again. |
Hey @syntafin, did this solve it for you? I have some ideas on how to make Just to document what I'm thinking (mostly for my own benefit):
This should make things a bit more resilient, but it would need to be staged with a major version bump so that Laravel can safely depend on the new functionality being available. |
Yes I was able to solve it :) . |
Laravel Prompts Version
0.1.7
Laravel Version
10.23.1
PHP Version
8,2.10
Operating System & Version
Arch Linux (Stable Kernel)/Ubuntu 22.04
Terminal Application
ZSH
Description
Good day,
asked on Discord yesterday and got said to open an issue.
I migrated the Migration Console Command in my application to Prompts, the informational message
intro
is shown, and theconfirm
question too, but after this nothing else, until the command is done, for local environment this does work, but on staging/production it doesnt, as some parts need manual input there.Maybe this video shows what I mean:
https://github.com/laravel/prompts/assets/695535/0fb409e9-4b61-4f7a-bb65-eeae6728c929
Even if I remove the
spin
(I just tested something with it, as it is not documented), nothing else is shown, the full code of my migration can be found in this Gist:https://gist.github.com/syntafin/dc028e3d9a6863dcef5d26a0bbc9ea96
Last shown prompt is in Line 50-56, everything else doesnt appear (migration still completes on local).
Steps To Reproduce
The text was updated successfully, but these errors were encountered: