On Thu, 12 Mar 2015 10:38:20 +0100 Urs Liska <u...@openlilylib.org> wrote:
> OK, this means if the result points to "in the current dir" then I > should prepend it with the current dir (which is easily possible with > the tools I already have). To be more precise: when the result is not an absolute path name (i.e., does not start with a / ) then it must be resolved from the perspective of the current directory. I assume python has a function abspath or similar. > I get > => /home/uliska/lilypond/usr/bin/lilypond > with each of the following: > > cd ~ > lilypond test-script.ly > cd ~/bin > lilypond test-script.ly > cd ~/lilypond/usr/bin > lilypond test-script.ly You probably do not have "." in your PATH, or it does not precede "/home/uliska/lilypond/usr/bin/". Try e.g. env PATH=.:$PATH lilypond test-script.ly -- Johan _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user