Skip to content

Commit 082b131

Browse files
committed
missed docstring*
1 parent 52859d1 commit 082b131

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

docs/build/html/process.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,8 @@ <h2><span class="section-number">2.1.3. </span>WinProcess<a class="headerlink" h
582582
raises an exception if the remote thread raised one</p>
583583
<div class="admonition note">
584584
<p class="admonition-title">Note</p>
585-
<p>This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users,
586-
see workaround: <a class="reference external" href="https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py">https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py</a></p>
585+
<p>This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users.
586+
See workaround: <a class="reference external" href="https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py">https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py</a></p>
587587
</div>
588588
</dd></dl>
589589

@@ -603,8 +603,8 @@ <h2><span class="section-number">2.1.3. </span>WinProcess<a class="headerlink" h
603603
</dl>
604604
<div class="admonition note">
605605
<p class="admonition-title">Note</p>
606-
<p>This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users,
607-
see workaround: <a class="reference external" href="https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py">https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py</a></p>
606+
<p>This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users.
607+
See workaround: <a class="reference external" href="https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py">https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py</a></p>
608608
</div>
609609
</dd></dl>
610610

windows/winobject/process.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,21 +1129,23 @@ def load_library(self, dll_path):
11291129
def execute_python(self, pycode):
11301130
"""Execute Python code in the remote process.
11311131
1132-
This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users/*.
1133-
See: samples/process/msstore_interpreter_remote_python.py for a workaround.
1134-
11351132
This function waits for the remote process to end and
11361133
raises an exception if the remote thread raised one
1137-
"""
1134+
1135+
.. note::
1136+
This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users.
1137+
See workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py
1138+
"""
11381139
return injection.safe_execute_python(self, pycode)
11391140

11401141
def execute_python_unsafe(self, pycode):
11411142
"""Execute Python code in the remote process.
11421143
1143-
This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users/*.
1144-
See: samples/process/msstore_interpreter_remote_python.py for a workaround.
1145-
11461144
:rtype: :rtype: :class:`WinThread` or :class:`DeadThread` : The thread executing the python code
1145+
1146+
.. note::
1147+
This method is incompatible with Microsoft Store builds of python, as the interpreter DLLs do not grant execute to Users.
1148+
See workaround: https://github.com/hakril/PythonForWindows/tree/master/samples/process/msstore_interpreter_remote_python.py
11471149
"""
11481150
return injection.execute_python_code(self, pycode)
11491151

0 commit comments

Comments
 (0)