Author eryksun
Recipients aku911, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-07-03.04:07:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593749226.0.0.674124080074.issue41196@roundup.psfhosted.org>
In-reply-to
Content
> What it really means for apps that are trying to share state across
> different Python runtimes is that they're not going to have such a 
> great time.

I tried impersonating the token of Explorer in the current thread (i.e. GetShellWindow, GetWindowThreadProcessId, OpenProcess, OpenProcessToken, ImpersonateLoggedOnUser), but writing to AppData was still redirected. Apparently redirection for apps only looks at the process token. A crude workaround is to script PowerShell or CMD in a child process.
History
Date User Action Args
2020-07-03 04:07:06eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, aku911
2020-07-03 04:07:06eryksunsetmessageid: <1593749226.0.0.674124080074.issue41196@roundup.psfhosted.org>
2020-07-03 04:07:05eryksunlinkissue41196 messages
2020-07-03 04:07:05eryksuncreate