Article View: comp.sys.amiga.tech
Article #13703Re: Execute -- Why does it always return -1?
From: Jack Rouse
Date: Wed, 14 Feb 1990 22:25
Date: Wed, 14 Feb 1990 22:25
11 lines
1054 bytes
1054 bytes
In article <929@tardis.Tymnet.COM> jms@tardis.Tymnet.COM (Joe Smith) writes: >Since the CLI structure is deleted when the Execute()ed programs are done, >I don't think you can get the return value of the last command. Apparently, since 1.2, the result code of the executed command is returned through the secondary result (i.e. IoErr()). This may not work with some Execute() patches (like "SetExecute" which came with WShell before 1.2 was available :-). -- Jack Rouse, SAS Institute Inc., Box 8000, Cary, NC 27512 USA USENET: mcnc!rti!sas!sasjjr TELCO : (919) 677-8000
Technical Details
Message-ID:
<1562@sas.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!mephisto!mcnc!rti!sas!sasjjrReferences:
<541@qusunb.queensu.CA> <929@tardis.Tymnet.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!mephisto!mcnc!rti!sas!sasjjr From: sasjjr@sas.UUCP (Jack Rouse) Newsgroups: comp.sys.amiga.tech Subject: Re: Execute -- Why does it always return -1? Keywords: amigados dos execute Message-ID: <1562@sas.UUCP> Date: 14 Feb 90 22:25:30 GMT References: <541@qusunb.queensu.CA> <929@tardis.Tymnet.COM> Reply-To: sasjjr@sas.UUCP (Jack Rouse) Organization: SAS Institute Inc, Cary NC Lines: 11