grab the complete commandline used ...
| From: | Jochem Maas | Date: | Thu, 28 Aug 2008 12:33:33 +0000 |
| Subject: | grab the complete commandline used ... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-278879@lists.php.net to get a copy of this message | ||
hiya,
anyone know if it's possible to grab the entire commandline
that was used to start up a php script on the CLI, an example
of what I'm looking to grab from within the script (test.php in
this example):
"php -qC -ddisplay_errors=1 ./test.php -o -d -e jochem@iamjochem.com -f ./last.log | grep Exception"
of course I know what the script name and arguments are but I'd rather like the
whole enchilada (php binary and it's args + the pipe to grep).
possible? bad idea? down boy?