Subject: Re: Programs and logging off
To: None <netbsd-help@netbsd.org>
From: Michael Core <520079546242-0001@t-online.de>
List: netbsd-help
Date: 06/02/2002 00:45:42
jeffrey@jeffreyf.net (Jeff Flowers) wrote:

> Can I start a program in such a way that it will continue running even
> if I log out? If so, how would I regain control of the program later?

Maybe it isn't the most beautiful way but it should work:

# gdb
(gdb) attach PID

For some programs you should disable the break at some signals first:

(gdb) ha SIGPIPE nostop noprint pass

HTH
Michael