>>> 2: Is there a way to get the result code and see if the command succeded?
>> Uh, have you even looked up "system" in the guile documentation?
> Yes I have ... but I typed my question a bit to fast ... the question
> should have been, why does '(if (not (system ...' not act, like I would
> expect. But with '(if (= 0 (system ...' it does.

Scheme doesn't use 0 for the false value, it's #f.  So a return of 0 is not #t.

HTH,

Carl

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to