This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Bernt.Røskar.Brenna
Recipients Bernt.Røskar.Brenna
Date 2013-11-13.21:06:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384376775.45.0.0929155898567.issue19575@psf.upfronthosting.co.za>
In-reply-to
Content
Simpler task method that still reproduces the problem:

def task():
    dirname = tempfile.mkdtemp()
    f_w =  open(os.path.join(dirname, "stdout.txt"), "w")
    e_w =  open(os.path.join(dirname, "stderr.txt"), "w")

    with subprocess.Popen("dir", shell=True, stdout=f_w, stderr=e_w) as p:
        pass

    f_w.close()
    e_w.close()

    shutil.rmtree(dirname)
History
Date User Action Args
2013-11-13 21:06:15Bernt.Røskar.Brennasetrecipients: + Bernt.Røskar.Brenna
2013-11-13 21:06:15Bernt.Røskar.Brennasetmessageid: <1384376775.45.0.0929155898567.issue19575@psf.upfronthosting.co.za>
2013-11-13 21:06:15Bernt.Røskar.Brennalinkissue19575 messages
2013-11-13 21:06:15Bernt.Røskar.Brennacreate