> I have a web application running pyramid through uwsgi.  I'd like to be
> able to interact with the process via the command line.  For example, run
> something at the command line to call a particular function or method in
> the application code.  Is there any way to do this?
>
> -Tim
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>

Add --pyshell to attach the python shell (or the ipython one) to the first
worker.

If you need to map the pseudoterminal to a socket you can use this:

http://uwsgi-docs.readthedocs.org/en/latest/Pty.html


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to