--- a/Lib/subprocess.py Mon Jun 20 22:09:20 2011 -0500 +++ b/Lib/subprocess.py Tue Jun 21 16:32:22 2011 +0200 @@ -1250,7 +1250,7 @@ # potential deadlocks, thus we do all this here. # and pass it to fork_exec() - if env: + if env is not None: env_list = [os.fsencode(k) + b'=' + os.fsencode(v) for k, v in env.items()] else: