mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add optional php-win.exe variation of the CLI sapi.
php-win.exe runs in the windows GUI subsystem, and thus has no console; stdio handles are effectively set to /dev/null and no "dos box" will appear on screen when running scripts using this sapi (php-gtk people will be familiar with this concept). Aside from those differences, php-win.exe is 100% identical to regular CLI
This commit is contained in:
parent
6048907029
commit
31f7699a85
3 changed files with 21 additions and 0 deletions
2
sapi/cli/cli_win32.c
Normal file
2
sapi/cli/cli_win32.c
Normal file
|
@ -0,0 +1,2 @@
|
|||
#define PHP_CLI_WIN32_NO_CONSOLE 1
|
||||
#include "php_cli.c"
|
Loading…
Add table
Add a link
Reference in a new issue