python multiprocessing fails on windows 7 when script run from file extension association
问题 I have a rather complex mostly-python application (that I inherited) and when I run it in windows from a file type association (double click on a data file in explorer), I get a crash in the middle of the python multiprocessing: Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\Python27\lib\multiprocessing\forking.py", line 380, in main prepare(preparation_data) File "c:\Python27\lib\multiprocessing\forking.py", line 489, in prepare file, path_name, etc = imp