Monday, June 7, 2010

Good idea to process form data in separate thread or process to avoid blocking? How?

I don't want Django site to block while form data is being processed.

What is easiest way to run a separate script in a separate thread or
process with form data as input parameters?

e.g. commands.getoutput("my_script arg1 arg2") or
os.system("my_script arg1 arg2") <--- possible to run these in
separate thread or process easily so Django app doesn't have to wait
on it? How?

Thanks!

Chris

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate