DiscordChatExporter/DiscordChatExporter.Gui/Utils/ProcessEx.cs

15 lines
337 B
C#
Raw Normal View History

using System.Diagnostics;
2021-12-08 16:50:21 -05:00
namespace DiscordChatExporter.Gui.Utils;
internal static class ProcessEx
{
2021-12-08 16:50:21 -05:00
public static void StartShellExecute(string path)
{
2024-04-26 21:17:46 -04:00
using var process = new Process();
process.StartInfo = new ProcessStartInfo { FileName = path, UseShellExecute = true };
2023-05-20 00:09:19 -04:00
process.Start();
}
2023-08-22 14:17:19 -04:00
}