🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.amiga
Article #5252

Exit status of cli commands

#5252
From: Joe Mueller
Date: Mon, 03 Nov 1986 17:23
10 lines
1059 bytes
This question must have been asked before but unfortunately, I haven't seen
the answer. How may I do the equivalent of Execute("command", 0,0) but get
more meaningful exit status than just TRUE or FALSE that the command executed?
The cli has some way to do it or else failat wouldn't work.

If someone at Commodore would like to enlighten me, I'm willing to implement
whatever's necessary in either C or assembler, I just need to know where the
hooks are.

Please reply to me directly unless you think there is enough general interest.
Technical Details
Message-ID: <623@nscpdc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!tektronix!reed!nscpdc!joemu

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!tektronix!reed!nscpdc!joemu
From: joemu@nscpdc.UUCP (Joe Mueller)
Newsgroups: net.micro.amiga
Subject: Exit status of cli commands
Message-ID: <623@nscpdc.UUCP>
Date: Mon, 3-Nov-86 12:23:53 EST
Article-I.D.: nscpdc.623
Posted: Mon Nov  3 12:23:53 1986
Date-Received: Tue, 4-Nov-86 08:18:15 EST
Distribution: net
Organization: NSC Portland Development Center, Portland Oregon
Lines: 10