From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21847 invoked by alias); 4 Nov 2004 07:53:52 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 21840 invoked from network); 4 Nov 2004 07:53:51 -0000 Received: from unknown (HELO hotmail.com) (65.54.247.8) by sourceware.org with SMTP; 4 Nov 2004 07:53:51 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 3 Nov 2004 23:54:00 -0800 Received: from 61.11.24.174 by by2fd.bay2.hotmail.msn.com with HTTP; Thu, 04 Nov 2004 07:53:30 GMT X-Originating-IP: [61.11.24.174] X-Originating-Email: [laalit_seth@hotmail.com] X-Sender: laalit_seth@hotmail.com From: "Lalit Seth" To: ramana.radhakrishnan@codito.com Cc: gcc-help@gcc.gnu.org Bcc: Subject: Re: How o acheive this in C++ Date: Thu, 04 Nov 2004 07:53:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Nov 2004 07:54:00.0499 (UTC) FILETIME=[7208C030:01C4C243] X-SW-Source: 2004-11/txt/msg00015.txt.bz2 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 >To: Lalit Seth >CC: gcc-help@gcc.gnu.org >Subject: Re: How o acheive this in C++ >Date: Thu, 04 Nov 2004 13:13:24 +0530 > >Hi, > > > >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!