![]() ![]() When I manually end the AcroRd32.exe processes, the batch file continues and then executes the TASKKILL line, which of course return a "process can't be found" error because it's no longer there. Using TASKKILL in the batch file to end AcroRd32.exe processes after print, but AcroRd32.exe remains open, even using the /F (force) flag.PHP script continues and eventually ending to allow end-users to continue with their work.Batch script completes (which in turn should free up the PHP script).PHP script is left executing, therefore preventing the client machine to do anything further.Batch file keeps running (until manually ending AcroRd32.exe processes).AcroRd32.exe instances do not end/close.Two instances of AcroRd32.exe silently start on the server.PHP page successfully calls batch file with correct argument.Parameter %1 is the filename that is sent as an argument to the batch file from the PHP script. t "D:\xampp\htdocs\instrument\app\webroot\Repair Tickets\%1.pdf" I have the following code in a batch file that is called by a PHP script using shell_exec(): "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |