[Twisted-Python] Interrupted system call in Twisted.Web...

Stuart Hungerford stuart.hungerford at anu.edu.au
Sun May 18 21:03:09 MDT 2003


Hi all,

My application is happily using Twisted.Web for a web interface to
a set of resources.  At one point I'm doing an os.popen2() call to
find some details on a particular resource. For now at least using
the popen2() call is the only way I can get this information.

Occasionally I'm getting an "Interrupted system call" Python
exception from this call.  I'd guess that os.popen2() is not
especially friendly to an asynchronous processing model like that
used in Twisted?

Could someone point me toward a more Twisted-aware approach than
using os.popen2()?


Cheers,

Stu

--
:: Stuart Hungerford (stuart.hungerford at anu.edu.au)
:: ANU Internet Futures Group





More information about the Twisted-Python mailing list