Hi, I've made it pretty far with the help of people on this list, thanks! Here's where I'm at now:
I have a bash script i wrote to do a few things (copy some files, sed some text files, and execute a few apps (ffmpeg, cinelerra). I also have a php<http://www.linuxquestions.org/questions/> page that runs this bash script through exec(); If i run via the shell (su'd as apache) as: php myphppage.php it executes correctly, copying the files, sed replacements, executes ffmpeg and cinelerra as expected. When i hit myphppage.php via a browser<http://www.linuxquestions.org/questions/>, it executes, kicks off the .sh script, does the copies, runs ffmpeg, but when it runs cinelerra, it goes nuts, basically resulting in not running correctly, and creating a bunch (10ish) files in the working directory with names like ?, ?a`, p!2, etc. What i don't understand is what is different from being on ssh as user apache and running php mypage.php vs hitting mypage.php with a browser (since apache runs as user apache). Anyone know if there are any specific Environment variables/settings that cinelerra in batch mode may require that may be different in my two scenarios? I'll be happy to provide whatever additional information or files that may be helpful in solving this. Thanks -jim