From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jianjun Kong Subject: Re: How to call another separate program and passing some variables in C? Date: Thu, 16 Oct 2008 08:41:35 +0800 Message-ID: <20081016004135.GA5666@ubuntu> References: <0E415EA45AC641298E702FBDEDADEA87@johnny> <4f5c2ba10810142334o6dbca046r52eb267c8da28aa9@mail.gmail.com> <5F844C5CE0B949348F25CDBF9B3FA11D@johnny> <4f5c2ba10810150150k153b051fod1440a14037cd16c@mail.gmail.com> <4f5c2ba10810150152s6c6307fi1fde09505b31a8bc@mail.gmail.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=Kh+1ACDM8j7u46I/SkPDwqc3UnqfOFNUIQi889/3Z9o=; b=XSRa9skBKd4u/6/8ZBKyC1UCKVgWOQ8qnc6LCpUnChRH3t9WTVM8P7AKeFzbt0xt7U /BOcYLZl2eioMA5yfuv6jAcBuJdoEgBJuCOdydl7TuPSso5jdIjtXab/CGG/1flLISXb g0j/f44CpBzQUvZX5xtdjJc1OzFcoEfYxeybg= Content-Disposition: inline In-Reply-To: Sender: linux-c-programming-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: johnny_xing Cc: 'Halesh S' , korfuri@gmail.com, linux-c-programming@vger.kernel.org On Wed, Oct 15, 2008 at 05:10:36PM +0800, johnny_xing wrote: >Hi, Halesh, > >Same result as above, I am wondering if system() should be used if we want to pass some arguments as well. $ man system You can get more information :) >Thanks & Best Regards, > >Johnny Xing