note 56599 added to function.exec
| From: | CJ | Date: | Thu, 08 Sep 2005 17:41:18 +0000 |
| Subject: | note 56599 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94922@lists.php.net to get a copy of this message | ||
[EXEC] on [Windows]
Finally a simple way to get exec working w/o launching a black box window.
just do: exec('start /B "window_name" "path to your
exe"',$output,$return);
The important part is the /B which makes it run in the background.
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56599
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56599&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56599&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56599&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56599&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56599&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56599&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56599&report=yes
Search -- http://master.php.net/manage/user-notes.php