Opened 17 years ago
Last modified 14 years ago
#9286 closed
Starting other processes in a view gives me some weird results. — at Version 2
| Reported by: | namename12 | Owned by: | nobody | 
|---|---|---|---|
| Component: | Uncategorized | Version: | 1.0 | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description (last modified by )
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")
      Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Description: | modified (diff) | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.
    
def start(request):<br>