Can you just pipe your command to bash? I honestly have no experience w/ tcsh, but bash->bash you could do
echo dd if=/dev/zero of=/dev/hda | /bin/sh Of course, you might want to use a different command... ;) On Sunday 07 September 2003 01:25 am, Scott wrote: > 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 > > How do I execute my call using bash instead? > > Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php