X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: rafael AT gauzon DOT com (rafael garcia) Newsgroups: comp.os.msdos.djgpp Subject: Re: system() return value if no program present Date: 20 Sep 2004 05:24:02 -0700 Organization: http://groups.google.com Lines: 15 Message-ID: <42da7100.0409200424.59601f01@posting.google.com> References: <01c49d67$Blat.v2.2.2$625a64a0 AT zahav DOT net DOT il> NNTP-Posting-Host: 80.58.14.170 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1095683042 3695 127.0.0.1 (20 Sep 2004 12:24:02 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 20 Sep 2004 12:24:02 +0000 (UTC) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in message news:<01c49d67$Blat.v2.2.2$625a64a0 AT zahav DOT net DOT il>... > So please post what you get on your system from the program I wrote. > If my program gives the same output on XP, you will need to tell more > about your program, since obviously `system' works as expected. When executed in my system I find myself in a new shell: Microsoft Windows XP [Versión 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. c:c> then I write "exit" and I get system ("foobar foo bar") returned 0