Date: Mon, 24 Sep 2001 12:09:04 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Piotr Fusik cc: djgpp AT delorie DOT com Subject: Re: Exit code of a .COM program is always zero? In-Reply-To: <001801c1446f$9dc9ef00$0ad24dd5@piec> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 23 Sep 2001, Piotr Fusik wrote: > BTW. I use Redir 1.0 to call the .COM program in makefile and return correct > exit status. :-) I don't recommend that: versions of redir before the one shipped with djdev203.zip had a few bugs much more grave than this problem. If you need a fixed redir now, it would be much better to fix the problem in the library module that caused the exit status to be lost than to use an old version of redir.