Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: runvdr and spaces in parameter-calls



Am Freitag, 31. Oktober 2003 01:25 schrieb Frederick Page:
> --plugin='mp3 -m /usr/local/vdr/mount.sh -M /usr/local/vdr/mplayer.sh'
> then vdr (?) fails to start "unkown option -- M" (exactly this
> message).
>
> Also when I change the last line to
> --record='/usr/local/bin/noad --statisticfile=/video/noadstat'
> it's just as if I had not stated anything at all, noad is not
> executed. My problems seem to be the spaces in the parameters,
> changing the ' to \" makes no difference :-/

Put the parameters in escaped quotes  and call vdr with
su -c "$VDRCMD"
That works fine for me. Also, read the _various_ threads about bash quoting 
that float around this mailing list.

Greetings,
Sascha



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index