回答編集履歴
1
追記
answer
CHANGED
@@ -30,4 +30,14 @@
|
|
30
30
|
source_process_handle = _winapi.OpenProcess(
|
31
31
|
AttributeError: module '_winapi' has no attribute 'OpenProcess'
|
32
32
|
"""
|
33
|
+
```
|
34
|
+
|
35
|
+
# 追記
|
36
|
+
|
37
|
+
興味深いことにpypyからCPythonという逆方向には`multiprocessing`経由で処理を委任できるみたいです。
|
38
|
+
|
39
|
+
```
|
40
|
+
if __name__ == "__main__":
|
41
|
+
multiprocessing.set_executable("c:\program files\python36\python.exe")
|
42
|
+
multiprocessing.Process(target=task).start() # pypyとは別プロセスのCPython 3.6環境でtask()を実行
|
33
43
|
```
|