home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18120 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.2 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!yale.edu!ira.uka.de!Sirius.dfn.de!urmel.informatik.rwth-aachen.de!uni-paderborn.de!not-for-mail
  2. From: tron@wembley.uni-paderborn.de (Matthias Scheler)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Error in AmigaDOS Execute() ???
  5. Message-ID: <1ia7euINN76p@wembley.uni-paderborn.de>
  6. Date: 4 Jan 93 20:42:06 GMT
  7. References: <1993Jan4.112435.29118@doug.cae.wisc.edu>
  8. Organization: Universitaet Paderborn, Germany
  9. Lines: 15
  10. NNTP-Posting-Host: wembley.uni-paderborn.de
  11.  
  12. pochanay@cae.wisc.edu (Adisak Pochanayon) writes:
  13.  
  14.  
  15. >   I have been running into a problem with AmigaDos's Execute() function.
  16. >It returns a non-zero value even when trying to Execute() a command that
  17. >doesn't exist.  How do I get the actual return value and how do I find out
  18. >if an error occured while using Execute().  According to the documentation,
  19. >Execute() returns a NULL if unsuccessful.  I'd consider an inexistant command
  20. >to be nonsuccessful???
  21.  
  22. Successfull means that Execute() was able to create the sub process.
  23. The actual return value is returned by IoErr().
  24. -- 
  25. Matthias Scheler                                         tron@uni-paderborn.de
  26. University of Paderborn (Germany)
  27.