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

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 def start(request):<br>
         if request.user.is_authenticated():<br>
                 output = Popen(["/usr/local/tomcat/bin/startup.sh"],
 stdout=PIPE).communicate()[0]<br>
                 foo ="a"<br>
                 return render_to_response('cms/templates/list.html',
 {'logs': foo})<br>

         else:<br>
                 return HttpResponseRedirect("/accounts/login")<br>

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9286#comment:1>
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to