php-src/sapi/cli/cli_win32.c
Wez Furlong 31f7699a85 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
2004-01-14 03:14:18 +00:00

3 lines
56 B
C

#define PHP_CLI_WIN32_NO_CONSOLE 1
#include "php_cli.c"