[Twisted-Python] reactor.spawnProcess() and file descriptors
Carlos Valiente
superdupont at gmail.com
Mon Jun 28 12:29:34 MDT 2010
On Mon, Jun 28, 2010 at 15:30, James Y Knight <foom at fuhm.net> wrote:
> Or, if just listdir("/proc/%d/fd/" % getpid()). If that doesn't fail
> (aka /proc/pid/fd actually exists and is mounted on this OS) then only
> close the listed fds. That'll be much much faster.
I just did that, James (http://twistedmatrix.com/trac/ticket/4522) --
Thanks for your help!
C
More information about the Twisted-Python
mailing list