mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Adapt sample + docs for microsoft-store-python-injection
This commit is contained in:
@@ -69,6 +69,20 @@ Output
|
||||
|
||||
.. _token_sample:
|
||||
|
||||
|
||||
Microsoft Store Python Injection
|
||||
''''''''''''''''''''''''''''''''
|
||||
|
||||
Python execution in remote process fails with Microsoft Store builds of pythons (`mspython`), as the interpreter DLLs do not grant execute to Users.
|
||||
This sample shows a workaround by user https://github.com/dariushoule by copying needed mspython files to a temporary directory and injecting those instead.
|
||||
|
||||
.. literalinclude:: ..\..\samples\process\msstore_interpreter_remote_python.py
|
||||
|
||||
Output
|
||||
|
||||
.. literalinclude:: samples_output\process_msstore_interpreter_remote_python.txt
|
||||
|
||||
|
||||
Token
|
||||
"""""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user