dsh-tool-wsl
WSL 命令行工具:在 WSL(Ubuntu)环境执行 bash 命令(wsl.exe -d <distro> -- bash -c),Windows 上取代 dsh-tool-bash
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗配置
| 项 | 默认 | 说明 |
|---|---|---|
distro | Ubuntu | WSL 发行版名(wsl.exe -l -q 查看) |
wslExe | wsl.exe | wsl 可执行文件 |
loginShell | false | true 用 bash -lc(登录 shell),false 用 bash -c |
timeoutMs | 120000 | 前台默认超时 |
maxTimeoutMs | 600000 | 单次超时上限 |
maxOutputBytes | 64000 | 每流内存输出上限(溢出落盘) |
maxSpillBytes | 64MB | 溢出落盘上限 |
graceMs | 3000 | SIGTERM→SIGKILL 宽限 |
enableRunInBackground | true | 后台执行开关 |