wsalivar@mv.us.adobe.com (Bill Salivar) writes: >I am experiencing a problem when running the MacPerl Tool under MPW. When >executing the 'system()' call within a loop, I am unable to terminate either >the script or MacPerl because Toolserver is trapping the <Command><.> >event. Thus, Toolserver quits but, of course, is restarted at the next >iteration of the loop. The event never reaches Perl or MPW. Is there a >better way to do this (beyond not using the system() call)? I suspectt that there is no real good solution, but have you tried switching MPW into the foreground first? Matthias ----- Matthias Neeracher <neeri@iis.ee.ethz.ch> http://err.ethz.ch/members/neeri.html "And that's why I am going to turn this world upside down, and make of it a fire so *bright* that someone real will notice" -- Vernor Vinge, _Tatja Grimm's World_