[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] multiple droplets





Brian L. Matthews wrote:

> kamma@iname.com writes:
> |I have written several droplets  to run in a continuous loop and send
> |output to the standard out or a log file.  However it looks as if only
> |one can run at a time.
>
> Yes. All a droplet is is a package of the script and a little bit of code
> that launches MacPerl if necessary and tells it to run the script. So
> even if you launch n droplets, they're all actually being run by one
> MacPerl.
>

So,  I guess I can only run 1 droplet at a time!?  MacPerl will execute the
first droplet and then the next one after the first one is finished.  Hmmm ..
.. ..

> If you really want n scripts running at a time, you could save them as
> runtimes, which saves a copy of MacPerl in each. However, this means that
> each script will be the size of the MacPerl application plus a little bit,
> they'll each take as much memory as the MacPerl application, and they'll
> each have their own STDOUT window.

Yeah, coming from the unix world, it was very common to write perl proggies
and have them run as a process.  I could have one perl process running
feeding input into another and so on.  I was hoping this would be possible on
the mac as well,  but I wanted to use droplets because they have a smaller
footprint.  Oh well.

thanks anyway
--Mark




***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch