[Twisted-Python] Patch to procmon.py

Nicola Larosa nico at tekNico.net
Tue Aug 12 14:01:54 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The class ProcessMonitor, from t.runner.procmon, is very useful to start and
monitor processes from within Twisted. Alas, that class sends all output
from the controlled processes to the log.

The attached simple patch to the startProcess method allows one to
substitute another protocol for the LoggingProtocol one, on a per-process
basis, keeping the current one as default.

Would it be appropriate for me to submit it to the bug tracker, using it as
a Feature Request container?


- --
"Finding a pianist who can play the notes is cheap.
Just as finding a programmer who can write code is cheap. [...]
Finding a pianist who is a musician, or finding a coder who is an artist
- - that is a rare and precious find indeed."  Russell, on Slashdot

Nicola Larosa - nico at tekNico.net


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/OSuRXv0hgDImBm4RAlOnAKCvvw8qbKybo/fZ50FdJLxWqDnw3QCgx3OW
A+F1TriIL/zjNjUiVE6XEoo=
=sRuq
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: procmon.py.diff
Url: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030812/c01a01e9/attachment.txt 


More information about the Twisted-Python mailing list