Hi all,
I'm using exec() to launch external commands from a web application under OS X Leopard. To put my problem in context, when I launch this:
exec ("export", $output);
I get this:
export OLDPWD
export PATH="/usr/bin:/bin:/usr/sbin:/sbin"
export PWD="/Library/WebServer/Documents"
export SHLVL="1"
My problem is with PATH, I need to include other directories in there. I've been searching for some time now but can't put my finger on it. Any ideas?
Thanks!