note 126430 added to function.popen
| From: | antman3351 at main dot php dot net | Date: | Fri, 17 Sep 2021 09:20:02 +0000 |
| Subject: | note 126430 added to function.popen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216966@lists.php.net to get a copy of this message | ||
Note for Windows users using popen with start to run an external script without having php wait.
e.g.:
pclose( popen( 'start /b php someLongScript.php *> nul', 'rb' ) );
If start can't find the exe it will open a popup message and pclose hangs until the popup is
closed.
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 2a02:1205:c685:aa60:ec94:f5fa:1c9a:2477)
----
Manual Page -- https://php.net/manual/en/function.popen.php
Edit -- https://main.php.net/note/edit/126430
Del: integrated -- https://main.php.net/note/delete/126430/integrated
Del: useless -- https://main.php.net/note/delete/126430/useless
Del: bad code -- https://main.php.net/note/delete/126430/bad+code
Del: spam -- https://main.php.net/note/delete/126430/spam
Del: non-english -- https://main.php.net/note/delete/126430/non-english
Del: in docs -- https://main.php.net/note/delete/126430/in+docs
Del: other reasons-- https://main.php.net/note/delete/126430
Reject -- https://main.php.net/note/reject/126430
Search -- https://main.php.net/manage/user-notes.php