* Thus wrote Scott ([EMAIL PROTECTED]):
> I am trying to temporarily change from tcsh to bash. I need to use bash for
> a particular command that I am doing a shell_exec on. Currently:
> _SERVER["SHELL"] = tcsh
You can try put_env('SHELL=/bin/bash');
http://php.net/put_env
or if you making sure a script is ran under the shell you can
always call your script like:
/bin/bash scriptname
and of course you can make it so you don't have to worry about your
environment the file executible and add this to the first line:
#!/bin/bash
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php