[Twisted-Python] Passing extra arguments to twistd?

Terry Jones terry at jon.es
Fri Jun 9 17:03:06 EDT 2006


I have a .tac file and am using twistd on it to start the application.  I
would like to be able to specify a config file on the command line so the
.tac file code can figure out what it should do.  Twistd doesn't seem to
want me to do that though.

Something like allowing

  $ twistd -twistedopts file -- extra args here...

would be nice. Or is there a better way to do this?

Regards,
Terry




More information about the Twisted-Python mailing list