> I keep my Lilypond files in a git repository. I would like to > interpolate the repo's version number in the Lilypond output by running > a command like "git log|head -1". I can do this from raw Scheme using > the system() function, but this does not seem to work in Lilypond.
How does it fail? It should definitely work. It will just not capture the output. See [LSR 567](https://lsr.di.unimi.it/LSR/Item?id=567) for a snippet that uses `open-pipe*` from `(ice-9 popen)` to achive essentially the same need as yours. > I realise that being able to do so opens up a massive security hole, but that > is not a problem here. LilyPond does not attempt to securely compile the file if it untrusted. (There used to exist a `-dsafe` option, but it was found to be irreparably broken, and got removed.)
signature.asc
Description: This is a digitally signed message part
