You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="sig-name descname"><spanclass="pre">execute_python</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pycode</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="_modules/windows/winobject/process.html#WinProcess.execute_python"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#windows.winobject.process.WinProcess.execute_python" title="Link to this definition">¶</a></dt>
580
-
<dd><p>Execute Python code into the remote process.</p>
580
+
<dd><p>Execute Python code in the remote process.</p>
581
581
<p>This function waits for the remote process to end and
582
582
raises an exception if the remote thread raised one</p>
583
+
<divclass="admonition note">
584
+
<pclass="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: <aclass="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>
<spanclass="sig-name descname"><spanclass="pre">execute_python_unsafe</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pycode</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="_modules/windows/winobject/process.html#WinProcess.execute_python_unsafe"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#windows.winobject.process.WinProcess.execute_python_unsafe" title="Link to this definition">¶</a></dt>
588
-
<dd><p>Execute Python code into the remote process.</p>
593
+
<dd><p>Execute Python code in the remote process.</p>
@@ -596,6 +601,11 @@ <h2><span class="section-number">2.1.3. </span>WinProcess<a class="headerlink" h
596
601
</p>
597
602
</dd>
598
603
</dl>
604
+
<divclass="admonition note">
605
+
<pclass="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: <aclass="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>
0 commit comments