At 3:04 -0400 1999.08.17, Joshua Juran wrote: >At 1:45 PM -0400 1999-08-15, Chris Nandor wrote: >>At 12.40 -0700 1999.08.13, Tom Sackett wrote: >>>For most housekeeping tasks, this works great. However, I also need, >>>sometimes, to update the client script itself, which means that client >>>script has to terminate and be re-launched. This was easy to implement in >>>Windows using "exec," but I can't find a way to do it in MacPerl. >> >>There is no clean way to do it. Search on the list archives for >>"launchotherperl.plx". It is a kludge to make a copy of the MacPerl app, >>and then launch it with another script. Under Mac OS, each app can only be >>running once, so you need copies. That script might do what you need, even >>if it takes a bit of modification. > >Yuck, it would be cleaner to have a dedicated executable for this. Depends on the situation. I designed that code to launch any number of executables as necessary. If you only need a set number, the code can be simplified. If you need an arbitrary number, then the code needs to be more complex. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org