Re: [PATCH] Support for nohup in mplayer
Nicolas George <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.devel |
|---|---|
| Message-ID | <[email protected]> |
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 unsubscribe. 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. Regards, -- Nicolas George _______________________________________________ MPlayer-dev-eng mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXli/3AAoJEHGVSyPKTcYMMXEP/RXRazblE60cegAkgSGp/Yba FKLLyPRfJx8b15tO9P/8WjroQb+DFxA/c2iZNOswNWMwGf8oPjL7VwRHkoBHcIDn 7zlyJiM+6MYBQ/NzQGYWK1lKpERfLo+yPGXDRpmrsKqJikY/9aKUc6NH5lUjDsBC OVRNO0okZUu6RHGVZYzQsf/5AqeyF968O/B9NTPy5LRvJI61xAuA2uFo4NJFeaPH wbI5mCl5GZVxDHEG2aKXlsjZiWx8eiHCcR9o6iTcC2CzaByAFgtz4UOoAlNZw7S4 1p9t8HF5o4ioUoIfJ0vfGro4Kdhl9mscM+LUm4dpg1VaHNGI96q8cpfqCueNZvIE lKH15ihC5sBcOPFly3Vc9i1nimVv950OnGFseImU52RtgJfIz+2u5WThLSvZ83Gh 072wn/hByoLNFJISHsTJrh5MMtzI0GCvWhYbh4pHbpaQot9IrbbEWE7R27/p9mWB /Ox5WUvrRa+n1pQVEF07izKB4z/ZDF8FHjswXRbn9B/UyK/LMd5IDMXTteg/wy/T UjJz2uzjUtovFVXGdwW9JLelR2OE0Tt5eJvgIBY5baz4fJC/jZhfnz7ilwDqflU+ SsycYBAPDTrIajwy5KWBhnfecNagHRAV+WClvYzVbnInqEjOT6OvquAcZ9n9aB6r OYlt3w3FOCt0miVL7LPl =Mt6L -----END PGP SIGNATURE-----