Tinker keeps running in background
See original GitHub issueBug description When running a thinker script the process keeps running even after all code has been executed.
To Reproduce Run tinker without exit() or die()
Expected behavior
Tinker should exit with message *** Execution finished ***
after all code has been executed.
Screenshots
Environment (please complete the following information):
- IDE & Version: PHPStorm 2020.2.4
- PHP Version: 8.1
- OS: macOS 11.6
- Laravel Tinker plugin version : 2.3.3
- Interpreter Type: Remote
- Laravel Version: 8.83.12
- Tinker version: 2.7.2
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:7 (3 by maintainers)
Top Results From Across the Web
python - Tkinter-based app keeps running in the background if ...
What I would do is add something that checks the state of the window and exit the app when it's closed. while app_is_running:...
Read more >Do Not Use Laravel Tinker in Production | Aaron Saray
I'll say it again: do not install Laravel Tinker in production, and certainly do not use it. It's a great...
Read more >How to stop Reflect from running in the background?
I'm in Windows 10. I went to Task Manager's tab "Startup" and found an entry for "Macrium Reflect UI Watcher". I disabled it...
Read more >The ultimate guide to php artisan tinker - Tinkerwell
The tinker command is built into every Laravel application and you can use it to run code within the context of your application....
Read more >Background tasks issue - Apple Community
... and it appears that the background tasks are not running correctly. ... So I will just tinker and learn and play till...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That just kills the output entirely, reverting 😛
Fix is ready - will be released in 2.3.4
Workarounded by just adding an exit() to the php code. Psysh is begin a not nice product when working with it like I do.