#9286: Starting other processes in a view gives me some weird results.
------------------------------------+---------------------------------------
          Reporter:  namename12     |         Owner:  nobody
            Status:  reopened       |     Milestone:  1.1   
         Component:  Uncategorized  |       Version:  1.0   
        Resolution:                 |      Keywords:        
             Stage:  Accepted       |     Has_patch:  0     
        Needs_docs:  0              |   Needs_tests:  0     
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Changes (by stevecr...@gmail.com):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 I'd call this a bug, and its affecting me.

 The django development server is able to start a background process, but
 for some reason it must block until the sub process dies. Place something
 like this in a view and you'll get your response 5 seconds later,
 Popen.communicate() is not needed to reproduce it:

 {{{
 subprocess.Popen(['/bin/sleep', '5'])
 return HttpResponse(u'That sure took a while!')
 }}}

 Also see #4953 and #3712

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9286#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to