home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / readmes / wftsk040.rea < prev    next >
Text File  |  1993-01-30  |  798b  |  21 lines

  1. Short: waits for tasks to finish
  2.  
  3.         WHAT IS IT ?
  4.  
  5.      The idea for this program came to  me  while  talking  to  Walter
  6.      Mildenberger, who said:  "Self-detaching  programs  are  stupid!"
  7.      (Okay, those weren't his  original  words,  but  that's  what  he
  8.      meant).
  9.  
  10.      We talked about the problem of waiting on such a program from the
  11.      CLI. This is quite difficult because there is no possible way  of
  12.      finding out when the program finishes.
  13.  
  14.      This problem is solved now! WaitForTask scans Exec's  task  lists
  15.      regularly and looks for a program name, which is  specified  when
  16.      you run the program. WaitForTask will not return until this  task
  17.      exists!
  18.  
  19.      Using this command you can easily synchronise your  scripts  with
  20.      self detaching programs.
  21.