From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Stéphane ANCELOT" <sancelot@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] system() question
Date: Fri, 09 Feb 2007 14:59:15 +0100 [thread overview]
Message-ID: <45CC7E33.3020707@domain.hid> (raw)
In-Reply-To: <45CC8A19.6080109@domain.hid>
Stéphane ANCELOT wrote:
> I tried it, but did not help, I manged to do the trick using
> start-stop-daemon
If I understand correctly the problem you have, it is not related at all
with Xenomai. What you want is to make your application a real daemon.
The easy way to do this is to call the glibc function named "daemon" the
hard way is to call fork twice, call setsid and setpgrp.
start-stop-daemon will not do the trick.
--
Gilles Chanteperdrix
next prev parent reply other threads:[~2007-02-09 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-07 16:09 [Xenomai-core] system() question Stéphane ANCELOT
2007-02-07 15:40 ` Gilles Chanteperdrix
2007-02-08 8:39 ` Stéphane ANCELOT
2007-02-08 8:18 ` Gilles Chanteperdrix
2007-02-09 14:50 ` Stéphane ANCELOT
2007-02-09 13:59 ` Gilles Chanteperdrix [this message]
2007-02-09 14:33 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45CC7E33.3020707@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=sancelot@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.