|
From: | lilypond |
Subject: | Re: Issue 1933 in lilypond: Lilypond-book requires msvcrt again |
Date: | Sun, 08 Jan 2012 21:02:11 +0000 |
Comment #31 on issue 1933 by address@hidden: Lilypond-book requires msvcrt again
http://code.google.com/p/lilypond/issues/detail?id=1933aha, I just noticed that os.popen doesn't give any return code. Hmm, tricky.
My first two thoughts are to either look at the existence of stderr as indication of success or failure (which runs into problems with verbose programs spewing junk onto stderr), or just ignore retcodes for the windows version and always assume that the previous command worked. Neither is immediately appealing, but I've only thought about it for two minutes and haven't tried any experiments yet, so that's no reason to give up.
[Prev in Thread] | Current Thread | [Next in Thread] |