home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11803 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  932 b 

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!csus.edu!netcomsv!terapin!paulk
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Using System() when started from Workbench -- path?
  5. References: <33697@cbmvax.commodore.com>
  6. Message-ID: <paulk.0ye2@terapin.com>
  7. Date: 29 Jul 92 18:05:16 PST
  8. Organization: BBS
  9. Lines: 13
  10.  
  11. > Watch out... You really do not want to use FindTask("Workbench") to
  12. > find the workbench task.
  13.  
  14. The program I took that path-copying example from looks at half a
  15. dozen likely task names until it finds a path, so it'll usually get
  16. one from some CLI even if no workbench is running.  More often it's
  17. run from CLI anyway so it doesn't matter.
  18.  
  19. > If you look at the startup message and look at the reply port and
  20. > find out that there is a PA_SIGNAL then get the PA_SIGTASK pointer
  21. > to find the task.
  22.  
  23. Other processes besides the workbench can launch workbench processes ...
  24.