[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Re: How to perform a function while closing SuperCollider IDE?
> I have encountered some problems while using the ShutDown class. When I
> close the IDE it seems that the functions added to the ShutDown objects are
> not evaluated at all. It seems.
this one works for me:
ShutDown.add { "touch /home/tim/sctest".systemCmd };
possible canveats:
* running asynchronous commands is undefined behavior (unixCmd might break)
* it is impossible to schedule something in a clock (fork { X.wait })
could be a platform-specific bug, though. does something like the above
work for you?
tim
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/