[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: revised LilyPond 2.7 binaries MacOS and Windows
From: |
Jan Nieuwenhuizen |
Subject: |
Re: revised LilyPond 2.7 binaries MacOS and Windows |
Date: |
Thu, 05 Jan 2006 18:11:58 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Schneelocke writes:
> I don't know. Does the windows shell pass arguments the same way that
> a Unix shell does? It's just a random idea, but I wouldn't be too
> surprised if it did not handle things like quotes itself and instead
> expected the invoked program to take care of these.
I remember. It is the way that python is invoked through PYEXT. Try
python ...LilyPond/usr/bin/convert-ly.py "fu bar.ly"
that should work.
In lilypond.nsi.in, I have
# %1 is the PYTHON command, so must be quoted bo the space
WriteRegExpandStr HKCR "Python\shell\open\command" ""
'"$INSTDIR\usr\bin\python.exe" "%1" %2 %3 %4 %5 %6 %7 %8 %9'
If I change this to
WriteRegExpandStr HKCR "Python\shell\open\command" ""
'"$INSTDIR\usr\bin\python.exe" "%1" "%2" %3 %4 %5 %6 %7 %8 %9'
then
convert-ly.py "fu bar.ly"
will work, but
convert-ly.py test.ly "fu bar.ly"
will fail. If I change it to
WriteRegExpandStr HKCR "Python\shell\open\command" ""
'"$INSTDIR\usr\bin\python.exe" "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"'
then
convert-ly.py test.ly
will complain about 7 files called `' that do not exist. Patches
thoughtfully considered.
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org