Closed Entretoize closed 3 years ago
The code suggested there looks like a bad idea. Something like https://github.com/laravel/octane/pull/182 is probably the better approach. Please feel free to send a PR, and I'll take a look.
This is already supported. You should use the keepAlive
option: https://github.com/chrome-php/chrome#options.
As of v0.11.0, we no longer check the chrome binary version, so issues with duplicate processes should be now resolved.
As reported in several threads, chrome process is kill by the symfony Process class, can you just add the code as suggested by ttk here ?