Skip to content

Commit 58a68bb

Browse files
committed
added UseShellExecute
1 parent 3da441c commit 58a68bb

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.idea/.idea.CutCode/.idea/workspace.xml

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CutCode.CrossPlatform/Helpers/ButtonExts.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static void OpenUrl(string url)
2929
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
3030
{
3131
startInfo.FileName = "xdg-open";
32+
startInfo.UseShellExecute = true;
3233
startInfo.Arguments = url;
3334
Process.Start(startInfo);
3435
}

0 commit comments

Comments
 (0)