Re: ssh session doesn't terminate until programs are closed

2001-12-19 Thread Hugo van der Merwe
> see http://www.openssh.com/faq.html#3.10 which (for shell) recommends a > stdout is your alternative anyway (proper daemonizing). > If coding in C, use daemon(3). Thanks a lot. Hugo van der Merwe

Re: ssh session doesn't terminate until programs are closed

2001-12-19 Thread Dave Sherohman
On Thu, Dec 20, 2001 at 12:09:09AM +1100, Joshua Goodall wrote: > On Wed, Dec 19, 2001 at 10:00:23AM +0200, Hugo van der Merwe wrote: > > I was wondering about an ssh session not closing until all the programs > > started in it are closed. How can I change this behaviour? Or maybe > > better, how c

Re: ssh session doesn't terminate until programs are closed

2001-12-19 Thread Joshua Goodall
On Wed, Dec 19, 2001 at 10:00:23AM +0200, Hugo van der Merwe wrote: > Hello, > > I was wondering about an ssh session not closing until all the programs > started in it are closed. How can I change this behaviour? Or maybe > better, how can I modify my program to not be one of the programs it > wa

Re: ssh session doesn't terminate until programs are closed

2001-12-19 Thread yugami
get to know screen. otherwise you need to fork twice to be like a daemon process, you still have a controlling tty - Original Message - From: "Hugo van der Merwe" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 19, 2001 3:00 AM Subject: ssh session doesn't termina

ssh session doesn't terminate until programs are closed

2001-12-19 Thread Hugo van der Merwe
Hello, I was wondering about an ssh session not closing until all the programs started in it are closed. How can I change this behaviour? Or maybe better, how can I modify my program to not be one of the programs it waits for? (Currently I fork() once and only the child branch continues. This does