From: Prasanta Sadhukhan <Prasanta.Sadhukhan@Sun.COM>
To: linux-c-programming@vger.kernel.org
Subject: Getting pid of exec'd process
Date: Thu, 22 Mar 2007 16:41:43 +0530 [thread overview]
Message-ID: <4602646F.3040906@sun.com> (raw)
Hi,
Can anyone suggest as to how can I get the pid of the process which I
have done execv()?
ie, if I do execv(path, cmd) a new process will be launched and now how
can I get the pid of this new process?
Regard
Prasanta
next reply other threads:[~2007-03-22 11:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 11:11 Prasanta Sadhukhan [this message]
2007-03-22 11:41 ` Getting pid of exec'd process cyon.john
2007-03-22 16:31 ` Benoît Rouits
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=4602646F.3040906@sun.com \
--to=prasanta.sadhukhan@sun.com \
--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 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.