On 2018-07-05 22:35, Federico Bruni wrote:
So the question is why lilypond-invoke-editor is not considered as a
program by Windows shell.
Perhaps because it does not end with .exe? Should it be made
executable?
I don't know Windows at all...
`lilypond-invoke-editor` is intended to be interpreted by Guile; but
since it has no file extension, Windows cannot invoke an associated
program. You should be able to wrap it up with a command shell script
easily enough...
lilypond-invoke-editor.cmd:
@ECHO OFF
SETLOCAL
SET LILYPOND_BIN=C:\Program Files (x86)\LilyPond\usr\bin
"%LILYPOND_BIN%\guile" -e main "%LILYPOND_BIN%\lilypond-invoke-editor"
%*
I should warn that I have not tested this, as I do not have an
installation of LilyPond on Windows. But, the principle should be
sound.
-- Aaron Hill
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user