![](https://secure.gravatar.com/avatar/fe9d000b440fc7517a39d6e3361126d5.jpg?s=120&d=mm&r=g)
7 Apr
2009
7 Apr
'09
6:54 p.m.
from twisted.scripts.twistd import run sys.argv[1:] = ["pluginname", "-whatever"] run()
It's decidedly a hack, but it works and relies only on public APIs, so it's tolerable until we get a better API.
That sounds like the best bet for now. If I get some time perhaps I'll do this for Tape and then write it up so others in a similar situation can get a little guidance. It will make for a reasonable second plugin tutorial as well. jack.