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