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:
Wez Furlong 2004-01-14 03:14:18 +00:00
parent 6048907029
commit 31f7699a85
3 changed files with 21 additions and 0 deletions

2
sapi/cli/cli_win32.c Normal file
View file

@ -0,0 +1,2 @@
#define PHP_CLI_WIN32_NO_CONSOLE 1
#include "php_cli.c"