note 52395 added to function.exec
| From: | Timwi at osu1 dot php dot net | Date: | Fri, 29 Apr 2005 13:24:03 +0000 |
| Subject: | note 52395 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88751@lists.php.net to get a copy of this message | ||
Replying to netshadow at madpoets dot org, instead of using some external tool like psexec, you can
just use the Windows native command "start".
exec("start blah.bat");
which will start blah.bat in the background and return to the PHP script immediately.
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52395
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52395&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52395&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52395&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52395&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52395&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52395&report=yes
Search -- http://master.php.net/manage/user-notes.php