Re: [PHP-DEV] Re: CLI issue: Changing STDERR

2005-03-14 Thread Davy Durham
Iteresting.. but no, that won't work because the redirection is a construct of a running shell.. not the exec system function that would be interpreting that line. That got me thinking tho.. to try something like #!/bin/bash -c exec /usr/bin/php 2>/path/filename which would seem to maybe work

[PHP-DEV] CLI issue: Changing STDERR

2005-03-14 Thread Davy Durham
Hey.. seeing as there is not way specified in the docs that I can find, I thought I'd email this list as there may be an undocumented way of doing it. On Linux: I'm converting some bash scripts to php.. in the bash scripts I sometimes do at the very top: " exec 2>/path/filename " Which chang