Chas Emerick wrote:
> For various reasons, I need to be able to bring up and tear down
> Pylons apps from an already-running Python process.  I took a look at
> what pastescript does in the background when one executes a `paster
> serve ...' command on the console, and I'd certainly like to find a
> way to hook into that mechanism without attempting to simulate the
> environment that paster gets from python on the commend line.
> 
> I seem to remember seeing a recipe for doing just that some months
> ago, but I can't seem to find it anymore.  I'd appreciate any pointers
> to that resource, and/or any direct assistance anyone might provide
> otherwise.

You might find this example useful: 
http://svn.pythonpaste.org/Paste/apps/HTConsole/trunk/htconsole/command.py


-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
             | Write code, do good | http://topp.openplans.org/careers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to