PHP 4.0 Bug #9954: php.exe hangs when executing external batch file

From: Date: Fri, 23 Mar 2001 14:09:08 +0000
Subject: PHP 4.0 Bug #9954: php.exe hangs when executing external batch file
Groups: php.dev 
Request: Send a blank email to php-dev+get-49814@lists.php.net to get a copy of this message
From: dave973@netzero.net Operating system: Windows NT 4.0/SP6 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: php.exe hangs when executing external batch file Platform/configuration = (NT4/SP6) I have created a batch file that opens MS Access and runs a macro... This macro does 3 things: 1. Deletes a table 2. Imports a delimited text file into a new table 3. Quits Access and Saves All changes. Here is the batch file: REM Defines a path for the Microsoft Access executable PATH = "C:\Program Files\Microsoft Office\Office\" REM Starts Microsoft Access and runs the macro. START /WAIT Msaccess.exe "C:\inetpub\wwwroot\webcolor\webcolor.mdb" /x "Importer" EXIT When I call this .bat file with the exec() or system() functions, the browser hangs and when I check the Task Mgr... I have php.exe, CMD.exe, and msaccess.exe all hanging (and I also can not end the processes - Access is denied). For every page access, an addition 3 processes open and hang. -- Edit Bug report at: http://bugs.php.net/?id=9954&edit=1

« previous php.dev (#49814) next »