This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How o acheive this in C++
- From: "Alex Vinokur" <alexvn at connect dot to>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 15 Nov 2004 13:57:24 +0200
- Subject: Re: How o acheive this in C++
- References: <BAY2-F24coCru4efxId000194d6@hotmail.com>
"Lalit Seth" <laalit_seth@hotmail.com> wrote in message BAY2-F24coCru4efxId000194d6@hotmail.com">news:BAY2-F24coCru4efxId000194d6@hotmail.com...
> Hi,
>
> 1) how do i get the PID from a process of which i know the name only
>
> 2) how can i send a signal to a process of which I have the PID
>
> I wanted this information from C++ Code not from shell.
>
[snip]
Via popen().
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn