#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 | ------------------------------------+--------------------------------------- Old description:
> I cannot start process as daemon. > > This error is similar to this thread: > http://groups.google.com/group/django- > users/browse_thread/thread/2d2e20ccd394297b?pli=1 > > Django hangs when I execute this code: > > def start(request): > if request.user.is_authenticated(): > output = Popen(["/usr/local/tomcat/bin/jboss.sh"], > stdout=PIPE).communicate()[0] > foo ="a" > return render_to_response('cms/templates/list.html', > {'logs': foo}) > > else: > return HttpResponseRedirect("/accounts/login") New description: I cannot start process as daemon. This error is similar to this thread: http://groups.google.com/group/django- users/browse_thread/thread/2d2e20ccd394297b?pli=1 Django hangs when I execute this code: {{{ def start(request): if request.user.is_authenticated(): output = Popen(["/usr/local/tomcat/bin/jboss.sh"], stdout=PIPE).communicate()[0] foo ="a" return render_to_response('cms/templates/list.html', {'logs': foo}) else: return HttpResponseRedirect("/accounts/login") }}} -- Ticket URL: <http://code.djangoproject.com/ticket/9286#comment:2> 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 -~----------~----~----~----~------~----~------~--~---