On Tue, Jul 03, 2007 at 07:23:12 +0100, andy wrote: > Bob Proulx wrote: >> andy wrote: >> >>> mencoder: command not found >>> >>> I'm wondering if I need to explicitly set my path in the script file in >>> order to call this function. >> >> Uhm, mencoder, when installed, lives in /usr/bin/mencoder. Perhaps >> you have not installed it?
[...] > No - it is definitely installed - I've used it on the cli plenty of times. > I am interested in finding out how I am to call it from within a bash > script, because simply putting mencoder <options> <file> in the bash script > isn't working. > > I'm not a programmer, so I can guarantee that this is a case of PEBCAK, but > I am not clear on how to resolve it. I am joining mid-thread, so I might misunderstand the problem, but why don't you just use the full path, i.e. /usr/bin/mencoder <options> <file> in your script? (Or are you worried about portability?) -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]