diff --git a/Bonsai/Program.cs b/Bonsai/Program.cs index 338ea447..e77fb2f6 100644 --- a/Bonsai/Program.cs +++ b/Bonsai/Program.cs @@ -209,7 +209,7 @@ internal static int Main(string[] args) } using var pipeServer = new NamedPipeServerStream(pipeName, PipeDirection.In); - editorArgs = editorArgs.ConvertAll(arg => arg.Contains(' ') ? $"\"{arg}\"" : arg); + editorArgs = editorArgs.ConvertAll(arg => arg.Contains(" ") ? $"\"{arg}\"" : arg); editorArgs.AddRange(new[] { PipeCommand, pipeName }); var setupInfo = new ProcessStartInfo();