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:
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?