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 pitrou
Recipients calimeroteknik, davin, giampaolo.rodola, gregory.p.smith, pitrou
Date 2018-09-26.17:01:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537981277.88.0.545547206417.issue34813@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think hang.py is correct.  If you launch a process using subprocess, the subprocess owns the child process.  You should not call waitpid() or os.kill() separately.  Also, since you don't keep a reference to the subprocess.Popen object, its destructor will run and may call waitpid() on the child process.  Depending on when exactly the destructor runs, it can interfere with your own waitpid() call.
History
Date User Action Args
2018-09-26 17:01:17pitrousetrecipients: + pitrou, gregory.p.smith, giampaolo.rodola, davin, calimeroteknik
2018-09-26 17:01:17pitrousetmessageid: <1537981277.88.0.545547206417.issue34813@psf.upfronthosting.co.za>
2018-09-26 17:01:17pitroulinkissue34813 messages
2018-09-26 17:01:17pitroucreate