Open jiridanek opened 4 years ago
So far, I found no evidence that mitogen actually aims to support Windows.
I have the same error with os.fork() and i'm searching for a solution
我在os.fork()上遇到了同样的错误,我正在寻找解决方案
你好,请问有找到解决方案吗
我在os.fork()上遇到了同样的错误,我正在寻找解决方案
你好,请问有找到解决方案吗
@suonianjiexinghe520 no
I have three ideas
os.fork
(https://stackoverflow.com/questions/17300551/how-to-run-python-script-with-os-fork-on-windows)for suggestions 2. and 3., you'd have to (I assume) run either the cygwin's or wsl2's version of sshd, so that afterwards the connection operates inside the respective environment and uses the linux-like version of Python.
I did not try these myself so I am unsure if it will work, but I have high hopes.
Host: Python 3.8, Mitogen 0.2.9 Target: Windows Server 2016, Python 3.8 Stacktrace attached