From ad19b620c8d3697584fb93468ab0bacf943d288b Mon Sep 17 00:00:00 2001 From: ionite34 Date: Mon, 5 Feb 2024 19:18:23 -0500 Subject: [PATCH] Fix StartApp with args on macos --- StabilityMatrix.Core/Processes/ProcessRunner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StabilityMatrix.Core/Processes/ProcessRunner.cs b/StabilityMatrix.Core/Processes/ProcessRunner.cs index 2da50556..e0f08caf 100644 --- a/StabilityMatrix.Core/Processes/ProcessRunner.cs +++ b/StabilityMatrix.Core/Processes/ProcessRunner.cs @@ -39,7 +39,7 @@ public static class ProcessRunner if (Compat.IsMacOS) { startInfo.FileName = "open"; - startInfo.Arguments = args.Prepend(path).ToString(); + startInfo.Arguments = args.Prepend([path, "--args"]).ToString(); startInfo.UseShellExecute = true; } else