For testing purposes, I'm queuing jobs in a queue. And I have opened on another side a command line where I execute:
php artisan queue:work
The above command keeps listening and running on the terminal until I manually kill it.
Since I'm testing singularly Jobs from the queue. It would be very nice to have the command to execute one ore more entries and exit instead of being executed as a daemon and have to kill it somehow...
Also consider that, It's not possible to edit code and have the current execution of queue:work getting the updates without restarting the daemon-ized command.