[Twisted-Python] Passing arguments while running a twistd application
![](https://secure.gravatar.com/avatar/68599b3b210ee81b094256921722ecc6.jpg?s=120&d=mm&r=g)
Hello folks, I have a twisted application, which formely was run with command line arguments which were used during runtime, eg: I was passing the path to the log file as argument. Then, I decided to make my app run through twistd as a tac file but then I'm not able to pass command line arguments anymore. Is there any way to overcome this issue? I'm running something like this: $ twistd -y my_twisted_script.tac my_program_arguments Then twistd is returning the following: <twistd_help /> twistd: Unknown command: my_program_arguments Cheers! -- Adriano Monteiro Marques http://adriano-marques.blogspot.com http://www.umitproject.org http://www.pythonbenelux.org "Don't stay in bed, unless you can make money in bed." - George Burns
participants (1)
-
Adriano Marques