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

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Fri Oct 2 13:23:06 EDT 2009

On 04:14 pm, vpogrebi at verizon.net wrote:
>Thank you!
>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):

Given this:
>>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.


More information about the Twisted-Python mailing list