>Env: IIS, Windows XP, PHP 4.3.10 (cgi-fcgi) >exec('c:\php\php -q Balance.php export=all branch=<branch> month=<month> >login=admin password=admin >> export/Balance.html'); >This command works in Linux when launched by an HTTP server. >In Windows it works from the command line but hangs when launched from an HTTP server >A cmd and 2 php processes are running in the Windows Task Manager On Windows, it seems that the php process is waiting for input - maybe php the arguments are not passed to php? Is there a way to log or track what the php process is waiting for?