﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4953	Starting a subprocess causes incomplete requests in dev server	John Shaffer <jshaffer2112@…>	nobody	"If you open a subprocess in your view, the request will not be completely sent to the browser. Using {{{subprocess.Popen(process, close_fds=True)}}} will bypass this problem, but close_fds is unimplemented on Windows. 

With the following view, the redirect is never received if using the dev server. The dev server will still be active and will continue to serve requests, but any requests to the hang view will not complete. When using mod_python, the redirect will work.
{{{
import subprocess
from django import http

def hang(request):
    proc = subprocess.Popen('python')
    return http.HttpResponseRedirect('/')
}}}

#3712 might be related."		closed	django-admin.py runserver	dev		duplicate			Unreviewed	0	0	0	0	0	0
