I asked a question before, this answer works better than anything you
guys told me,
it lets me run lilypond from WSH...
C:/cygwin/bin/bash.exe --login -c "/usr/bin/lily-wins C:/t.ly"
the problem is it doesn't recognise the command line options.
I've tried other options and, I've tried them from the cygwin prompt.
I've tried them in quotes and things. What is up with this?...
C:/cygwin/bin/bash.exe --login -c "/usr/bin/lily-wins --png C:/t.ly"
--------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/lily-wins", line 56, in ?
(opts, files)=getopt.getopt (sys.argv[1:],'dh', ['help', 'debug'])
File "/usr/lib/python2.4/getopt.py", line 89, in getopt
opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
File "/usr/lib/python2.4/getopt.py", line 153, in do_longs
has_arg, opt = long_has_args(opt, longopts)
File "/usr/lib/python2.4/getopt.py", line 170, in long_has_args
raise GetoptError('option --%s not recognized' % opt, opt)
getopt.GetoptError: option --png not recognized
----------------------------------------------------------------------------------------------
"C:\cygwin\bin\lilypond.exe -h" says this... (but do they work?)
GNU LilyPond 2.4.2
Usage: lilypond [OPTION]... FILE...
Typeset music and/or produce MIDI from FILE.
LilyPond produces beautiful music notation.
For more information, see http://lilypond.org
Options:
-e, --evaluate=EXPR set option, use -e '(ly:option-usage)' for help
-f, --format=EXT select back-end to use
-h, --help print this help
-H, --header=FIELD write header field to BASENAME.FIELD
-I, --include=DIR add DIR to search path
-i, --init=FILE use FILE as init file
-m, --no-layout produce MIDI output only
-o, --output=FILE write output to FILE
-p, --preview generate a preview
--no-pages don't generate full pages
--png generate PNG
--ps generate PostScript
--dvi generate DVI
--pdf generate PDF (default)
--tex generate TeX
-s, --safe-mode run in safe mode
-v, --version print version number
-V, --verbose be verbose
-w, --warranty show warranty and copyright
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user