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
seems to confirm this. Strangely, popen2 etc do not allow you to get
the exit status.