Browser loads forever when using exec to call an excutable program on Win2K

From: rtv_73 (rtorrijos_at_yahoo.com)
Date: 11/28/03


Date: 28 Nov 2003 13:15:40 -0800

I have been trying to start and application (process) in the
background without having to wait for it to finish.

I have tried a lot of combinations and for what I read in this message
group the best why to do it is:

exec("CMD /C START calc.exe >NUL");

The problem is that when this gets executed, the browser just starts
loading forever and never continues to the next line. Same thing
happens without >NUL.

System Info:
Windows 2000 Professional
PHP 3.3.4 running as Apache mod (and tried with 3.3.3 too)
Apache 1.3

Thanks



Relevant Pages

  • Re: Developing PHP under Windows - Why?
    ... Windows 2000, Apache 2, Microsoft SQL Server, and PHP. ... We went with the Windows route mainly for human resource reason. ... I knew virtually nothing about Linux at the time - and very little about Apache. ...
    (comp.lang.php)
  • Re: PHP5 install in Windows Vista
    ... need, purely for convenience, to set up a parallel platform under Windows. ... I suppose you're using a recent installer (older ones were broken in Vista ... not even PHP). ... You must use proper DLL from PHP installation, not from Apache. ...
    (comp.lang.php)
  • Re: PHP5beta2 - anyone successfully installed in
    ... and actually i'm running both php 4.3.4 and php5 beta 2 on windows ... To install successfully as apache module, ...
    (comp.lang.php)
  • Re: Apache 2.2.2 and PHP 5.1.4 on Win2k crashing
    ... Everything works except PHP: when starting Apache, ... pops out a message saying that it is unable to locate the module (even ... I'm running XAMPP fine on Windows XP ...
    (comp.lang.php)
  • Re: PHP is looking for php.ini file in c:windows
    ... Configuration File - C:\WINDOWS ... Be sure to restart your PC, since Apache needs to read this env var ... when using PHP as CGI" ... WINDOWS nor anything in the REGISTRY. ...
    (comp.lang.php)