Re: run external script from view

2008-02-22 Thread sector119
I just want run simple external script and don't want to run any daemon for it :) I know about django-queue-service. when I use django.utils.daemonize.become_daemon at script.py and spawnl('script.py') in view I can run script.py in another process and send some HttpResponse, but browser still wa

Re: run external script from view

2008-02-22 Thread cbmeeks
How about having the view store an entry in something like Amazon's SQS. Then, a daemon would monitor SQS for "script jobs" and then run them. That would give you a good asynchronise (spelling?) system. cbmeeks http://codershangout.com On Feb 22, 5:23 am, sector119 <[EMAIL PROTECTED]> wrote:

run external script from view

2008-02-22 Thread sector119
Hi ALL! How to run some python script from view and not wait and of work of this script, and execute some view code after script call in this view? This python script use django.utils.daemonize.become_daemon to become a daemon. When I run this script from view at _development_ server using os.exe