lilypond-devel
[Top][All Lists]
Advanced

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

RE: Windows Scripts


From: Fodor Bertalan
Subject: RE: Windows Scripts
Date: Fri, 19 Sep 2003 10:42:04 +0200

I have one good and one bad news:

Good:

c:\cygwin\bin\bash.exe --login -c '/usr/bin/lily-wins "%1"'

works as a correct association. The key is to put %1 in quotation marks.
I don't know how to set these in post-lily.sh (I don't know python.) \" or
"" or something ?

Bad:
For file names containing spaces we must make one modification is
lily-wins.sh, because
"C:\Documents and Settings\Berti\song.ly" is can be a common setting for
default-addicted users:

system ('/usr/bin/ly2dvi -p "%(file)s" > %(stem)s.log 2>&1' % vars ())
I put the filename between quotation marks.

But Ly2dvi doesn't like file names with spaces:

ly2dvi: error: filename should not contain spaces: `/cygdrive/c/Documents
and Settings/Berti/song' 

Bert





reply via email to

[Prev in Thread] Current Thread [Next in Thread]