note 66710 added to ref.exec

From: Date: Fri, 26 May 2006 18:54:38 +0000
Subject: note 66710 added to ref.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-112339@lists.php.net to get a copy of this message
An easy way to start a program and don't get the problem when the PHP code hangs. Tested on Windows. <?php exec("start /D \"C:\\LocationToProgramExeFile\" /B program.exe"); ?> And to terminate the program: <?php exec("TASKKILL /F /IM program.exe /T"); ?> ---- Server IP: 129.16.214.50 Probable Submitter: 81.224.197.79 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.exec.php Edit -- http://master.php.net/note/edit/66710 Del: integrated -- http://master.php.net/note/delete/66710/integrated Del: useless -- http://master.php.net/note/delete/66710/useless Del: bad code -- http://master.php.net/note/delete/66710/bad+code Del: spam -- http://master.php.net/note/delete/66710/spam Del: non-english -- http://master.php.net/note/delete/66710/non-english Del: in docs -- http://master.php.net/note/delete/66710/in+docs Del: other reasons-- http://master.php.net/note/delete/66710 Reject -- http://master.php.net/note/reject/66710 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112339) next »