From 3d7894036cdabb7675c593dbed77ffdfcf135139 Mon Sep 17 00:00:00 2001 From: Magnus Date: Wed, 15 Jan 2025 14:07:48 +0100 Subject: [PATCH] fix: run vespa.exe directly on windows instead of unsanitized cmd.exe --- .../schemals/lsp/common/command/commandtypes/RunVespaQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/common/command/commandtypes/RunVespaQuery.java b/integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/common/command/commandtypes/RunVespaQuery.java index b626bb546b2..007c32cfbab 100644 --- a/integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/common/command/commandtypes/RunVespaQuery.java +++ b/integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/common/command/commandtypes/RunVespaQuery.java @@ -108,7 +108,7 @@ private CompletableFuture runVespaQuery(String query, ClientLogger ProcessBuilder builder = new ProcessBuilder(); if (isWindows) { - builder.command("cmd.exe", "/c", "vespa", "query", query); // TODO: Test this on windows + builder.command("vespa.exe", "query", query); } else { builder.command("vespa", "query", query); }