From 38f345281b546794e1a9641174aebefc5dcc0855 Mon Sep 17 00:00:00 2001 From: Maiko Date: Sun, 3 Mar 2024 22:36:48 +0900 Subject: [PATCH] Fix plugin failing to run when OU path contains space --- OpenUtau.Core/Classic/Plugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenUtau.Core/Classic/Plugin.cs b/OpenUtau.Core/Classic/Plugin.cs index 5f809c14d..e5aff6c1e 100644 --- a/OpenUtau.Core/Classic/Plugin.cs +++ b/OpenUtau.Core/Classic/Plugin.cs @@ -18,7 +18,7 @@ public void Run(string tempFile) { } var startInfo = new ProcessStartInfo() { FileName = Executable, - Arguments = tempFile, + Arguments = $"\"{tempFile}\"", WorkingDirectory = Path.GetDirectoryName(Executable), UseShellExecute = UseShell, };