Replies: 1 comment
|
这个报错是已知的平台限制,不是你的操作问题,也不是"Windows 上默认调了 Linux 命令"这么简单。 根因
function createProcessInspector(platform = process.platform, arch = process.arch, internals = DEFAULT_INTERNALS) {
if (platform === "linux") return new LinuxProcessInspector(arch, internals);
if (platform === "darwin") return new MacProcessInspector(internals);
throw new Error(`subprocess-local: terminal inspection is unsupported on platform ${platform}`);
}它的官方 README Known Limitations 也明确写了:
也就是说: 为什么是"快速模式"触发快速模式(headless/一次性任务)默认走 建议
|
Uh oh!
There was an error while loading. Please reload this page.
现象描述
在 Windows 的终端启动 dsh 选择快速模式后,工具执行类 Linux Shell 命令(示例:pwd && ls -la),系统抛出报错:
Error: subprocess-local: terminal inspection is unsupported on platform win32
dsh-session-session-f5a52353-30ed-48bc-b818-cd8c51ff9bde.zip
All reactions