📌  相关文章
📜  <3>init: (13943) 错误: UtilConnectToInteropServer:307: 连接失败 2 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:03.388000             🧑  作者: Mango

代码示例1
fix_wsl2_interop() {
    for i in $(pstree -np -s $$ | grep -o -E '[0-9]+'); do
        if [[ -e "/run/WSL/${i}_interop" ]]; then
            export WSL_INTEROP=/run/WSL/${i}_interop
        fi
    done
}