I'm trying to run a WinNT executable from a php4 script: e.g.
$cmd = "C:\WINNT\Notepad.exe";
or
$cmd = "C:/WINNT/Notepad.exe";
Whether I use
exec( $cmd );
or
$cmd;
the same thing happens - everything hangs.
The strange thing is that the NT Task Manager shows that the process is running (as is cmd.exe), but the application doesn't open. If I shut the process down the rest of the script executes normally.
Am I missing something stupid here, or is this a bug?
Phil