2009/6/2 Henning Hraban Ramm
<hraban@fiee.net>
Am 2009-06-02 um 13:07 schrieb Lutz Haseloff:
Here it works with ConTeXt MkIV beta as of 2009.05.27 11:27.
I use ConTeXt ver: 2009.06.02 09:30 MKIV.
Works still with 2009.06.02 09:30 on MacOS X / Intel.
So it seems it's only a Windows problem - probably calling the LilyPond binary, but could also be Lua's os.rename doesn't move? Or your flavour of Windows doesn't understand forwards slashes as directory delimiters any more...
Yes you are right, os.rename() on Windows moves a file only if it not exists.
That's why I had a filename-lilypond-1.tmp in my working directory.
But perhaps is it possible to delete an existing targetfile with os.remove()?
(my attempts to try so were not successful but I will try further)