From: Joerg Bruehe <joerg@sql.de>
Subject: Re: Keeping processes after xterm is closed
Date: 2000/04/13 [thread overview]
Message-ID: <38F57BB1.1E72B116@sql.de> (raw)
In-Reply-To: 38F4E521.ADF15DE7@umit.maine.edu
Hi Steve !
Steve Cousins wrote:
>
> Currently if I start a process in the background from a terminal window,
> if I close that terminal window the process also dies.
This is normal - when you close a window (years ago: when you switch off
a terminal), the "hangup" signal is sent to all processes controlled
from that window/terminal.
> This doesn't happen with other versions of UNIX that I have used ...
Are you sure ? IMHO, that is _really_standard_ unless you change the
signal handling settings.
> ... and I was wondering if there was a way to turn this "feature" off.
Yes, explicitly ignore the SIGHUP: Either code that into your program,
or use the "nohup" command. RTFM about the stdout/stderr redirection
that implies.
>
> I am using OSF/1 4.0b.
Beware of Y2K - officially, you need to upgrade to 4.0D (or higher).
HTH, Joerg Bruehe
--
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
(speaking only for himself)
mailto: joerg@sql.de
next prev parent reply other threads:[~2000-04-13 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-12 4:00 Keeping processes after xterm is closed Steve Cousins
2000-04-13 4:00 ` Joerg Bruehe [this message]
2000-04-13 4:00 ` Steve Cousins
2000-04-14 4:00 ` Joerg Bruehe
2000-04-13 4:00 ` Andrew Duane USG
2000-04-14 4:00 ` Daniel Schunneman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox