On Thu, 12 Mar 2015 08:29:33 +0100
Urs Liska <u...@openlilylib.org> wrote:

> Am 12.03.2015 um 01:14 schrieb Mattes:
> > Hmm,  are you looking for the path to the current lilypond executable
> > or the current lilypond input file?
> > For the first '(car (command-line))'  might be all you need.
> 
> Yes, this is what I'm looking for, thank you.

Please be aware that on vanilla *ix systems this only works if the program
is executed via a PATH search.

E.g., if lilypond is in /usr/bin:

  cd /tmp
  lilypond   --> /usr/bin/lilypond
  cd /usr/bin
  ./lilypond   --> ./lilypond

-- Johan

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to