2 Oct 2009 2 Oct '09
On Fri, Oct 2, 2009 at 12:14 PM, Valeriy Pogrebitskiy firstname.lastname@example.org:
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:
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.