Mailing List archive

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

[vdr] Re: VDR developer version 1.1.20



Ulrich Petri wrote:
> Oliver Endriss wrote:
> > Klaus Schmidinger wrote:
> > > What about
> > >    vdr &
> > > ?
> >
> > What's the problem? vdr will try to read from stdin and will block.
> > That's ok because other programs do it exactly the same way.
> >
> > The correct way to use '&' is:
> > vdr < /dev/tty9 > /dev/tty9 2>&1 &
>
> You're kidding? Aren't you?

Not at all!

> Thats exactly the point why everyone says linux is user-un-friendly,
> because of such more-complicated-than-it-has-to-be Things.

It's just the right way to use the powerful[tm] '&' command.
man bash. Read the section about process control.

Nobody is forced to use the '&' command. But if you do you have to do 
it the right way. If you want to start vdr in the background, don't say
'vdr &', because vdr will get blocked when it tries to read from stdin.
Use 'vdr -d' instead. That's pretty easy...

Oliver



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



Home | Main Index | Thread Index