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 sbt
Recipients doerwalter, sbt
Date 2012-07-20.18:09:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342807786.35.0.964476044581.issue15408@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, if you replace

	print(os.popen("uname").read())

with

        f = os.popen("uname")
        print(f.read())
        f.close()

or

        with os.popen("uname") as f:
            print(f.read())

then things should work.  This is because f.close() waits for the pid.
History
Date User Action Args
2012-07-20 18:09:46sbtsetrecipients: + sbt, doerwalter
2012-07-20 18:09:46sbtsetmessageid: <1342807786.35.0.964476044581.issue15408@psf.upfronthosting.co.za>
2012-07-20 18:09:45sbtlinkissue15408 messages
2012-07-20 18:09:45sbtcreate