note 28363 deleted from ref.exec by crell
| From: | crell@php.net | Date: | Thu, 31 Mar 2022 20:58:29 +0000 |
| Subject: | note 28363 deleted from ref.exec by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217997@lists.php.net to get a copy of this message | ||
Note Submitter: jfl at eksperten dot dk
----
I made my script work in the background like this:
function start_shell ($cmd) {
exec('nohup "'.$cmd.'" > /dev/null &');
}