How o acheive this in C++

Lalit Seth
Thu Nov 4 07:53:00 GMT 2004

Thanks for Reply.

What i wanted is to make call from C++.
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 <>
>To: Lalit Seth <>
>Subject: Re: How o acheive this in C++
>Date: Thu, 04 Nov 2004 13:13:24 +0530
>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 .

Mergers, takeovers, buyouts. Get all the latest biz bytes. Tune in to MSN Business!

More information about the Gcc-help mailing list