> 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
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
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
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
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
5 matches
Mail list logo