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

[MacPerl] multiple droplets



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.  I can start the first one by double clicking on
it and then immediatly double click on the second.  But no output from
the second one occurs until the first one has completed .  Here are two
simple pieces of code I was using to test this.    Does this mean that
MacPerl is waiting on the first one to finish?  It seems possible you
should be able to run two droplets at the same time.

thanks
--Mark

--- saved as droplet script1 ---
#!perl
$dummy=1;
while ($dummy < 11)
{    print "script 1-pass $dummy\n";    # also changed this to print
into a log file
     $dummy++;
     sleep 1;
}

--- saved as droplet script2 ---
#!perl
$dummy=1;
while ($dummy < 11)
{    print "script 2-pass $dummy\n";    # also changed this to print to
another log file
     $dummy++;
     sleep 1;
}


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