Displaying \frac{a}{b} in xlabel

Darren Dale <dd55@...163...> writes:

Does anyone know how to catch exit status using os.popen and
friends? LaTeX would have returned an exit status of 1 for this
example, which could be used to raise a warning.

I think you should get the exit status from the close() method, and
http://docs.python.org/lib/os-newstreams.html
seems to confirm this. Strangely, popen2 etc do not allow you to get
the exit status.

···

--
Jouni