home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12939 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.3 KB

  1. Path: sparky!uunet!wupost!ukma!cs.widener.edu!dsinc!bagate!cbmvax!cbmehq!cbmfra!forgeas
  2. From: forgeas@swinjm.UUCP (Jean-Michel Forgeas)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: 1.2, 1.3, and 2.0 question
  5. Message-ID: <qy9Br*9V1@swinjm.UUCP>
  6. Date: 30 Aug 92 14:13:46 GMT
  7. References: <64699@cup.portal.com> <paulk.1a86@terapin.com> <64890@cup.portal.com>
  8. Reply-To: cbmvax!cbmehq!cbmfra!swinjm!forgeas (Jean-Michel Forgeas)
  9. Organization: The Software Winery
  10. Lines: 24
  11. X-Newsreader: Arn V1.00 alpha rel2
  12.  
  13. In article <64890@cup.portal.com>, ANTHONY FRANCIS PRESTON writes:
  14.  
  15. > [...] a problem running the programs this way(i.e. Execut("program",0,0); )
  16. > People have reported they do not run(guru, lockups, inconsistant behavior)
  17. > under 1.3.  I am using Execute, not System.
  18.  
  19. Try to give an output stream to the program. For example:
  20.  
  21.     if (nil = Open( "nil:", MODE_NEWFILE ))
  22.         {
  23.         Execute("program",0,nil);
  24.         Close( nil);
  25.         }
  26.  
  27. Be carefull in 1.3, if "program" launches itself other programs, it must have
  28. something more consistent than nil:, so in this case you better should open
  29. a "con:........" for Execute() instead of nil:.
  30.  
  31. Best regards
  32.     Jean-Michel
  33. --
  34. Jean-Michel Forgeas         uunet!cbmvax!cbmehq!cbmfra!swinjm!forgeas
  35. 4 rue du General Leclerc                       __
  36. 95210 Saint Gratien, France                    \/
  37.