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 changes where stderr goes because it closes and reopens file descriptor 2
I've played around and around with things with some php cli scripts, but cannot do it.
Is there a way of changing the actual process's file descriptor 2 to something else. (or any fd for that matter)
Thanks, Davy
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php