CBWhiz/pyinstaller — comment on commit 08477d15554eb3bac4b1ad6a8c1eb20650a7f5c4
File: source/common/main.c line 111
By CBWhiz:

Setting extractionpath lets the rest of the code think it's already in the child process.