Bug #71989 [NEW]: Unable to call the exec function asynchronously

From: Date: Fri, 08 Apr 2016 12:59:47 +0000
Subject: Bug #71989 [NEW]: Unable to call the exec function asynchronously
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200438@lists.php.net to get a copy of this message
From: ivan dot shib at gmail dot com Operating system: 4.1.19-boot2docker x86_64 Linux PHP version: 7.0.5 Package: Output Control Bug Type: Bug Bug description:Unable to call the exec function asynchronously Description: ------------ In the php code run the following command: exec('php -f '.escapeshellarg(ROOT_DIR.'/index.php').' > /dev/null 2>&1 &'); Got the following record in the logs: 2016-04-08T12:55:38.201816261Z [08-Apr-2016 12:55:38] ALERT: oops, unknown child (16) exited with code 0. Please open a bug report (https://bugs.php.net). If we remove ' > /dev/null 2>&1 &' part from code then it works fine but not asynchronously. Please note that in PHP v 7.0.3 the code above worked fine. -- Edit bug report at https://bugs.php.net/bug.php?id=71989&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71989&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71989&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71989&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71989&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71989&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71989&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71989&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71989&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71989&r=support Expected behavior: https://bugs.php.net/fix.php?id=71989&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71989&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71989&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71989&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71989&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71989&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71989&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71989&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71989&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71989&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71989&r=mysqlcfg

« previous php.bugs (#200438) next »