home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12374 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.1 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!mips!decwrl!csus.edu!netcom.com!netcomsv!terapin!paulk
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: System() and pr_ConsoleTask
  5. Message-ID: <paulk.15ls@terapin.com>
  6. Date: 15 Aug 92 02:19:47 PST
  7. Organization: BBS
  8. Lines: 14
  9.  
  10. Why do people traditionally pass a window filehandle to System() for input and
  11. NULL for output?  There's nothing in the documentation to support this -- what
  12. is it for?
  13.  
  14. The other day I found that when I run my program which opens a CON: window and
  15. then runs a program in it with System(command, SYS_Input, windowhandle,
  16. SYS_Output, NULL, TAG_DONE) -- woops, make that SystemTags -- running UnZip 4.1
  17. causes its output to go to the parent CLI window instead of to the window I
  18. gave it, EVEN THOUGH I had specifically pointed my own pr_ConsoleTask to the
  19. new window beforehand, and it's supposed to copy that from its parent process.
  20. The new CLI inside System should be completely unaware of the original CLI
  21. window.
  22.  
  23. This is with KS 37.175, SetPatch 38.30
  24.