fix: Terminal 启动参数保持 --port=9997 格式

This commit is contained in:
2026-03-20 14:05:28 +08:00
parent 7c7b334f5c
commit 9effdcd070

View File

@@ -44,7 +44,7 @@ class TerminalService {
}
private getExeArgs(): string[] {
return ['--port', this.port.toString(), '--headless'];
return [`--port=${this.port.toString()}`, '--headless'];
}
private async checkHealth(): Promise<boolean> {