AI论坛 AI论坛 beta

SUNNY (@sunny43) 在 分享一个解决 wsl 0x80070569 错误的办法 中发帖

📌 📄 内容摘要: SUNNY (@sunny43) 在 分享一个解决 wsl 0x80070569 错误的办法 中发帖 在 .bashrc 或 .zshrc 中添加下面的脚本: check_vmcompute() { local vmcompute_status=$(powershell.exe -NoProfile -Command "(Get-Service vmcompute).Status" 2>/dev/null | tr -d '\r') if [[ "$vmcompute_status" != "Running" ]]; then echo "vmcompute 未运行,正在重启..." powershell.exe -NoProfile -Command "Start-Service vmcompute" 2>/dev/null fi } check_vmcompute 之后每次启动 shell 都会检查并重启 Hyper-V 服务...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/1203495/1
─────────────────────────────
📢 来源:LINUX DO

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

每日一言

AI论坛

帖子数 659811
评论数 8888
用户数 88888
在线用户 8888