note 103713 deleted from function.exec by danbrown

From: Date: Fri, 29 Apr 2011 13:01:33 +0000
Subject: note 103713 deleted from function.exec by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179265@lists.php.net to get a copy of this message
Note Submitter: Bean at hotmail dot com ---- I've been trying to use the exec to run the php-cli so it can run a script with some arguments in the background. Seems that it does not accept both pipe commands and arguments. I'm not a linux guru so there could be other means, but for now it seems I can only choose to send it arguments, or run it in the background. exec('php-cli -q /filetorun.php arg1 >/dev/null/ 2>&1');

« previous php.notes (#179265) next »