oscarotero/php-server-manager

Hide PHP console window

mikemania opened this issue · 2 comments

When I build my electron application and then run it, a PHP server console window opens in addition to the application window. Closing this console window stops the PHP server. Is there any way to hide this window?

No idea. This library uses child process API to run the command. Maybe there's an option for that.

Looking at the documentation, there's a windowsHide option, not sure if it can fix the issue.

Thank you. Setting that option does fix the problem.