[chuck-users] Running scripts sequentially

Stefan Blixt stefan.blixt at gmail.com
Tue Apr 22 04:24:06 EDT 2014


Sure, but Machine.add ought to take some time to access the file system and
compile too. Anyway, I second the approach using Events, I made the script
suggestion since it feels like an easier approach.


On Tue, Apr 22, 2014 at 10:07 AM, Szilveszter Tóth <silvestre.toth at gmail.com
> wrote:

> Starting a new chuck process would add a random delay, I don't think that
> is acceptable in a musical context.
>
>
> 2014-04-22 7:57 GMT+02:00 Stefan Blixt <stefan.blixt at gmail.com>:
>
> You could try starting each script on its own in a shell script or - if
>> you're on windows - a .bat script:
>>
>> chuck file1.ck
>> chuck file2.ck
>> ...
>>
>>
>> On Tue, Apr 22, 2014 at 3:04 AM, Gonzalo <gonzalo at dense13.com> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to run multiple .ck files sequentially. Specifically I have a
>>> 'master' file that loads all the 'child' files via Machine.add. But then of
>>> course they run concurrently. For now I'm just advancing time in the master
>>> file before every Machine.add statement (ugly...). Is there a way to
>>> accomplish this nicely?
>>>
>>> Thanks!
>>> Gonzalo
>>>
>>>
>>> PS: This is my first message to this list. I'm working on a project with
>>> Chuck that raises *a lot* of questions, so I'll probably be coming back
>>> here often. :)
>>> _______________________________________________
>>> chuck-users mailing list
>>> chuck-users at lists.cs.princeton.edu
>>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>>
>>
>>
>>
>> --
>> Release me, insect, or I will destroy the Cosmos!
>>
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>>
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>


-- 
Release me, insect, or I will destroy the Cosmos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140422/7e0ac92c/attachment-0001.html>


More information about the chuck-users mailing list