note 90662 modified in function.system by danbrown
| From: | danbrown@php.net | Date: | Sun, 03 May 2009 16:59:50 +0000 |
| Subject: | note 90662 modified in function.system by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154160@lists.php.net to get a copy of this message | ||
A more direct approach:
<?php
function runAsynchronously($path) {
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run(addslashes($path), 7, false);
unset($WshShell,$oExec);
}
?>
--was--
A more direct approach:
function runAsynchronously($path) {
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run(addslashes($path), 7, false);
unset($WshShell,$oExec);
}
http://php.net/manual/en/function.system.php