[Twisted-Python] Use of 'twistd' utility with command-line arguments

Glyph Lefkowitz glyph at twistedmatrix.com
Fri Oct 2 13:30:23 EDT 2009


On Fri, Oct 2, 2009 at 12:14 PM, Valeriy Pogrebitskiy
<vpogrebi at verizon.net>wrote:


> Something can be done about that. One possible approach could be to use two
> argument lists (one - 'twistd' arguments, second - application's arguments)
> and enforce following rule(s):
>

As Jean-Paul mentioned, there is a ticket which almost exactly describes
your idea: #1490.  In particular, you can read my last comment explaining
what that ticket is supposed to be about:

http://twistedmatrix.com/trac/ticket/1490#comment:39

If you'd like to implement what's specified there, we would be happy to
receive your patch :).  Making 'twistd foo.py' equivalent to 'twistd run
foo' is a trivial afterthought once #1490 is implemented.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20091002/151de983/attachment-0001.htm 


More information about the Twisted-Python mailing list