-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add app termination #169
Comments
Does normal tinker do this? |
normal tinker never ends |
This is one of the stuff I hate in tinker, sometimes I have to manually call Also see https://github.com/laravel/telescope/issues?q=terminate+tinker |
Normal tinker stops when you type "q" or "exit" - if that does what you want it to do, then the latest update (2.3.4) will do exactly that. If not: I can add an option to the settings to enable termination or not, since I try to mimic actual tinker as close as possible. |
|
Laravel Tinker-2.4.0.zip |
@Roboroads does this zip include the latest changes? I'm still using 2022.1 |
@emargareten This zip contains #170 |
Can I use it with 2022.1 |
Yes but docker interpreters won't work |
@Roboroads works great 👍 I did notice that without that setting I get an additional |
Laravel Tinker-2.4.0.zip I try to make sure there is no extra |
no, now it's fine. |
@Roboroads It does work, I think you can go ahead with this. I do have another issue I think it started in version 2.3.4, sometimes the output displays only partially or doesn't display at all. (I might have had this issue on rare occasions before but now it happens like 50% of the time) |
Maybe you should create a new issue for that problem and see if other people have the same problem since I don't have it it and need a way to reproduce it to be able to fix it 🥲 |
Will be in 2.4.0 |
2.4.0 will be available this week after JB accepts it, which includes this issue. |
Is your feature request related to a problem? Please describe.
Some events only dispatch after app terminated / object destruction
Describe the solution you'd like
Add a simple
$app->terminate()
(or$kernal->terminate($input???, $status???)
) in tinker_run.php after execution.The text was updated successfully, but these errors were encountered: