Date: Thu, 11 Jan 2024 20:32:05 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: freebsd-arm@freebsd.org Subject: Re: USB-serial adapter suggestions needed Message-ID: <20240111203205.6d19a3d36c6c5c78e09e99d5@sohara.org> In-Reply-To: <ZaBLnwaHWYedwY9m@www.zefox.net> References: <ZZy2FRO7MCOLMQhp@www.zefox.net> <DD96D1B0-92A8-4CBD-9661-FC86AC547405@yahoo.com> <ZZ2E8OZJBfXLkwQ%2B@www.zefox.net> <ZZ3NGeOtadKMHgIj@www.zefox.net> <3012A549-9482-4D69-9DF4-7987E650DFFA@yahoo.com> <ZZ7fBDxYd8Yyw5fm@www.zefox.net> <E769A770-8D23-4EFC-8E75-F0ACF6705C4E@yahoo.com> <55AC6824-587D-4C67-B64B-2045A1112F69@yahoo.com> <ZZ8ugUkEDXbSUjZp@www.zefox.net> <041F74B4-3D44-4364-9EBD-9F21A4F3B313@yahoo.com> <ZaBLnwaHWYedwY9m@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Jan 2024 12:12:15 -0800 bob prohaska <fbsd@www.zefox.net> wrote: > On Wed, Jan 10, 2024 at 09:34:00PM -0800, Mark Millard wrote: > > > > "&" creates background processes that are still killed when > > their parent tty or controlling process goes away. nohup > > avoids that kill. > > Not sure what's going on, but if I use > make buildworld & > on one of my RPi* hosts and log out or otherwise drop > the connection, the job keeps going. Maybe use of tcsh? It all depends on how the background process responds to receiving SIGHUP which is sent when the terminal session closes. The default action for SIGHUP is to exit but like most signals it can be trapped and a different action supplied. It seems that make ignores SIGHUP (I've never had cause to check), many daemon programs reload their configuration on receiving it. The nohup program catches the SIGHUP signals and ignores them shielding the child process it creates to run the command it's been given as arguments. It also redirects terminal output to nohup.out. -- Steve O'Hara-Smith <steve@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240111203205.6d19a3d36c6c5c78e09e99d5>