home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / tcl / 2105 < prev    next >
Encoding:
Text File  |  1992-12-14  |  878 b   |  26 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!think.com!yale.edu!spool.mu.edu!caen!spencer
  3. From: spencer@med.umich.edu (Spencer W. Thomas)
  4. Subject: Re: Exiting tk Apps
  5. Message-ID: <SPENCER.92Dec14113116@guraldi.med.umich.edu>
  6. Date: Mon, 14 Dec 92 11:31:16 EST
  7. Organization: University of Michigan
  8. In-Reply-To: ouster@sprite.Berkeley.EDU's message of 12 Dec 1992 00:18:49 GMT
  9. References: <1992Dec10.151958.5766@texhrc.uucp> <1gbb59INNlr3@agate.berkeley.edu>
  10. Nntp-Posting-Host: guraldi.itn.med.umich.edu
  11. Lines: 13
  12.  
  13. A simple script to kill off those non-existant "interpreters":
  14.  
  15. foreach p [winfo interps] {
  16.     if [catch {send $p {}}] {
  17.         exec wish -name $p << "destroy ."
  18.     }
  19. }
  20.  
  21. =S
  22. --
  23. =Spencer W. Thomas         |  Info Tech and Networking, B1911 CFOB, 0704
  24.    "Genome Informatician"    |  Univ of Michigan, Ann Arbor, MI 48109
  25. Spencer.W.Thomas@med.umich.edu    |  313-747-2778, FAX 313-764-4133
  26.