From 082b13112d6db1d38dc515a62c202c563dfcf460 Mon Sep 17 00:00:00 2001 From: Darius Houle Date: Sun, 26 Jan 2025 23:46:19 -0700 Subject: [PATCH] missed docstring* --- docs/build/html/process.html | 8 ++++---- windows/winobject/process.py | 16 +++++++++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/build/html/process.html b/docs/build/html/process.html index 5b43350..bf15b42 100644 --- a/docs/build/html/process.html +++ b/docs/build/html/process.html @@ -582,8 +582,8 @@ raises an exception if the remote thread raised one

Note

-

This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users, -see workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py

+

This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users. +See workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py

@@ -603,8 +603,8 @@ see workaround:

Note

-

This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users, -see workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py

+

This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users. +See workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py

diff --git a/windows/winobject/process.py b/windows/winobject/process.py index c74a750..3cd21a7 100644 --- a/windows/winobject/process.py +++ b/windows/winobject/process.py @@ -1129,21 +1129,23 @@ class WinProcess(Process): def execute_python(self, pycode): """Execute Python code in the remote process. - This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users/*. - See: samples/process/msstore_interpreter_remote_python.py for a workaround. - This function waits for the remote process to end and raises an exception if the remote thread raised one - """ + + .. note:: + This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users. + See workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py + """ return injection.safe_execute_python(self, pycode) def execute_python_unsafe(self, pycode): """Execute Python code in the remote process. - This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users/*. - See: samples/process/msstore_interpreter_remote_python.py for a workaround. - :rtype: :rtype: :class:`WinThread` or :class:`DeadThread` : The thread executing the python code + + .. note:: + This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users. + See workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py """ return injection.execute_python_code(self, pycode)