home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!psgrain!hippo!catpe!f54.n7101.z5.fidonet.org!Ashley.Kleynhans
- From: Ashley.Kleynhans@f54.n7101.z5.fidonet.org (Ashley Kleynhans)
- Sender: ufgate@catpe.alt.za (newsout1.26)
- Newsgroups: comp.lang.pascal
- Subject: DosExitCode bug ???
- Message-ID: <2782.2AFC1B66@catpe.alt.za>
- Date: Fri, 06 Nov 92 00:55:01 GMT
- Organization: FidoNet node 5:7101/54 - Depths of Insanity, Alberton
- Lines: 18
-
- Hi!
-
- I don't think it is a bug... I think that it is just for some reason
- that when COMMAND.COM is run in a shell is does not return the
- correct DosExitCode... if you run it normally without calling
- COMMAND.COM, I have found that it gives the correct DosExitCode, but
- this method does not work too well... the only alternative that I
- had was to make my program create a batch file, then shell to the
- batch file to read the DOS errorlevel for my program to be able to
- work correctly... If you find another solution or know of an easier
- way please let me know about it!
-
- Thanks a million!
- Cheers!
- --
- INTERNET: Ashley.Kleynhans@f54.n7101.z5.fidonet.org
- via: THE CATALYST BBS in Port Elizabeth, South Africa.
- (catpe.alt.za) +27-41-34-1122 HST or +27-41-34-2859, V32bis & HST.
-