'Running laravel queue:work as a background task in windows

I use supervisord to configure and run laravel queues as a background job on the linux machines. One of my customer can only use windows machine due to their company policy.

I want to run laravel queue as a background job on windows. I've came up with this solution below but I am not so sure if it is good way to do it.

forever -c php artisan queue:listen --tries=3

Anyone has tried it in production if yes how was experience with that or anyone has better solution with this situtation?

Any help would be highly appreciated.



Solution 1:[1]

So after looking through the KivyMD source, it looks like the proper way to do this is to call...

.close_stack()

the .state property is just for reading to find the current state

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Antikythera