From 700c4b968fccc9ab9a5a772a08b99d42a100984a Mon Sep 17 00:00:00 2001 From: Salvador Cipolla Date: Sat, 21 Dec 2024 14:40:20 -0300 Subject: [PATCH] Fix 7z verify failling if the knossos library has spaces in the path --- Knossos.NET/Classes/SevenZipConsoleWrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Knossos.NET/Classes/SevenZipConsoleWrapper.cs b/Knossos.NET/Classes/SevenZipConsoleWrapper.cs index f91e73c6..7124da7d 100644 --- a/Knossos.NET/Classes/SevenZipConsoleWrapper.cs +++ b/Knossos.NET/Classes/SevenZipConsoleWrapper.cs @@ -165,7 +165,7 @@ public async Task VerifyFile(string file) if (disposed) throw new ObjectDisposedException("This object was already disposed."); string cmdline = "t "; - return await Run(cmdline + file); + return await Run(cmdline + "\"" + file + "\""); } public void KillProcess()