X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 20 Sep 2004 22:27:28 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c49f48$Blat.v2.2.2$03122900@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <42da7100.0409200424.59601f01@posting.google.com> (rafael AT gauzon DOT com) Subject: Re: system() return value if no program present References: <01c49d67$Blat.v2.2.2$625a64a0 AT zahav DOT net DOT il> <42da7100 DOT 0409200424 DOT 59601f01 AT posting DOT google DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: rafael AT gauzon DOT com (rafael garcia) > Date: 20 Sep 2004 05:24:02 -0700 > > "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 [Versin 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > c:c> Didn't you said some time ago that everything works as expected? Or was it someone else (am I talking to 2 people)? How exactly did you invoke my program? what was the exact command line? Anyway, if the program I posted puts you in a new shell, then something is seriously wrong with your setup (assuming that you compiled and run a DJGPP program). Are you at all able to invoke _any_ command via `system' from a short test program without being put into a new shell?