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 bbayles
Recipients bbayles, dancol, davin, pitrou
Date 2018-01-13.03:11:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515813083.73.0.467229070634.issue32146@psf.upfronthosting.co.za>
In-reply-to
Content
I ran into this issue, and found references to it on StackOverflow [1] and GitHub [2] as well. I found that the problem applies to both the 'spawn' and 'forkserver' start methods on Linux.

I made an attempt to implement dancol's fix above. (1) and (3) are straightforward, but if there's an elegant way to do the "tickle" in (2) I wasn't able to figure it out?

My branch [3] has something that seems to work with the 'spawn' method and cx_Freeze. Perhaps someone could look at that and tell me if I'm on a reasonable track? If so, I can attempt to extend the method to cover 'forkserver' as well.

[1] https://stackoverflow.com/q/47325297/353839

[2] https://github.com/anthony-tuininga/cx_Freeze/issues/264

[3] bpo-32146-freeze_support">https://github.com/python/cpython/compare/master...bbayles:bpo-32146-freeze_support
History
Date User Action Args
2018-01-13 03:11:23bbaylessetrecipients: + bbayles, pitrou, dancol, davin
2018-01-13 03:11:23bbaylessetmessageid: <1515813083.73.0.467229070634.issue32146@psf.upfronthosting.co.za>
2018-01-13 03:11:23bbayleslinkissue32146 messages
2018-01-13 03:11:22bbaylescreate