This is somewhat of a core Python question with a Django twist. I'm
running mod_wsgi and am trying to figure out how to FTP a file from my
Django app to a remote host without locking the thread up. I've tried
something like:

from subprocess import Popen
print Popen(["python", command_str, "53363", "1"]).pid

I'm sure there's a much better way to do what I'm trying to. I thought
about threading it off, but wouldn't the wsgi process have to stick
around for the thread to return?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to