How o acheive this in C++
Alex Vinokur
alexvn@connect.to
Mon Nov 15 11:58:00 GMT 2004
"Lalit Seth" <laalit_seth@hotmail.com> wrote in message 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
More information about the Gcc-help
mailing list