Web lists-archives.com

Re: [MPlayer-dev-eng] [PATCH] Support for nohup in mplayer

L'octidi 8 thermidor, an CCXXIV, Seb a écrit :
> Here is attached a little patch allowing mplayer to inherit a
> nohup setting. This can be useful when this one is used in slave
> mode and you don't want xinit or xterm to shut it down.

I do not object to the patch, but I would like to emphasize that, although a
well established practice for a long time, using nohup is wrong.

Using nohup is like subscribing to a mailing list and then flagging the mail
from it as spam when they are no longer wanted. The correct way is to

To unsubscribe from SIGHUPs sent automatically, the correct mechanism is to
create a new session using the setsid() system call, available as the setsid
command-line tool.


  Nicolas George

Attachment: signature.asc
Description: Digital signature

MPlayer-dev-eng mailing list