Since 2004 Win10 has "python.exe" reparse point in path. This point runs WindowsStore app, so user can install Python.
After installation this point is replaced with real python.
This change uses native app to see if reparse point links to real python or desktop
GitOrigin-RevId: 2d7962be588b5dc83bab412c6ad483fe48298bf3
CRT wprintf converts chars to one byte charset: it consumes time and may render some chars unprintable.
GitOrigin-RevId: 9d2889718f4376a652d36e4c9493fcdf9f3cba0a
CRT wprintf converts chars to one byte charset: it consumes time and may render some chars unprintable
GitOrigin-RevId: 6ff122b2f3a0e94b411dd4b57e5e48b2b2cc8911
dup2 for CRT is broken in Win10 (can't dup2 stdout and CreateProcess fails with STATUS_DLL_INIT_FAILED(0xc0000142) sometimes)
That is not a big deal since new process inherits handlers its CRT is initialized correctly
When admin user launches Intellij, Windows revokes many
user privileges to improve safety for admin users (that is how UAC works).
One can't access "Program Files": any attempt to write something there
leads on ACCESS_DENIED(5) error even if NTFS reports file is writable
The only way to elevate privileges is to launch process as elevated.
"Elevator.sln" is Win32API app that launches command
as elevated. See its sources for more info.