rtyler / Spawning

Spawning is a wsgi server which supports multiple processes, multiple threads, green threads, non-blocking HTTP io, and automatic graceful upgrading of code
http://pypi.python.org/pypi/Spawning
MIT License
120 stars 18 forks source link

Running from code #30

Open heynemann opened 13 years ago

heynemann commented 13 years ago

I have a console app that runs a eventlet server. I'd love to run it with spawning. I don't want my users to do spawning xxx.py.

I want to run spawning via code. How could I do it? Is it feasible? I don't need all the functionality like backdoor.

I'm building my own main method now, but it is not that cool.

If I can help in any way, please let me know and I'll try.

Cheers, Bernardo Heynemann