How o acheive this in C++

Lalit Seth laalit_seth@hotmail.com
Thu Nov 4 07:53:00 GMT 2004


Thanks for Reply.

What i wanted is to make call from C++.
like
retval = System("ps -ale");

But this prints the result on console.

I wanted some how i can get that back in some variable/structure in C++.
>From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
>To: Lalit Seth <laalit_seth@hotmail.com>
>CC: gcc-help@gcc.gnu.org
>Subject: Re: How o acheive this in C++
>Date: Thu, 04 Nov 2004 13:13:24 +0530
>
>Hi,
>
><snip>
>
>man proc
>man kill
>man raise
>man signal
>
>Also, not the right list to ask about Unix system programming. This is the 
>place for more about using and building GCC .
>
>cheers
>Ramana
>

_________________________________________________________________
Mergers, takeovers, buyouts. Get all the latest biz bytes. 
http://www.msn.co.in/business/ Tune in to MSN Business!



More information about the Gcc-help mailing list