From: "Wen Guangcheng" <wen.guangcheng@cnt.sp.qnes.nec.co.jp>
To: linux-c-programming@vger.kernel.org
Subject: How to execute a process in background by exec functions?
Date: Thu, 8 Apr 2004 14:41:10 +0900 [thread overview]
Message-ID: <002001c41d2c$18e27f80$de01a8c0@qnessmphibiki> (raw)
In-Reply-To: 407316A0.1060708@telefonica.net
Hello All,
I am trying to execute a process in background by exec functions.
But it failed when I call the function of execv by
execv("/home/wen/daemon &", NULL);
The error is ENOENT(No such file or directory).
Would anyone tell me how to do it?
Thanks in advance.
Best regards,
--Wen
next prev parent reply other threads:[~2004-04-08 5:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-06 20:44 c++ compiling problem. undefined reference to main srg
2004-04-06 20:55 ` Jad Saklawi
2004-04-08 5:41 ` Wen Guangcheng [this message]
2004-04-08 8:56 ` How to execute a process in background by exec functions? Glynn Clements
2004-04-08 13:25 ` John T. Williams
[not found] <3AA03342E913FA4BA6D8BD0732BFC74B05530BA8@pdsmsx402.pd.intel.com>
2004-04-08 9:31 ` Wen Guangcheng
-- strict thread matches above, loose matches on Subject: below --
2004-04-11 17:37 Jose Luis Alarcon Sanchez
2004-04-11 17:05 ` John T. Williams
2004-04-11 23:02 ` Glynn Clements
2004-04-11 19:23 Jose Luis Alarcon Sanchez
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='002001c41d2c$18e27f80$de01a8c0@qnessmphibiki' \
--to=wen.guangcheng@cnt.sp.qnes.nec.co.jp \
--cc=linux-c-programming@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).