On 04:14 pm, email@example.com wrote:
I still disagree with the following statement:
While this is a reasonable expectation, twistd does quite a lot and it wouldn't be quite right to pass on all the arguments in a flat list the way Python does.
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):
However, it's fairly straightforward to get what you want. Instead of writing a python configuration file, write a plug-in for twistd. The technique for doing so is documented here:
what is your motivation for seeking out this feature?
Also, Glyph didn't mention #1490, an open ticket describing yet another way twistd might be invoked which allows command line arguments to be passed to the application.