mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-05 09:29:32 +00:00
20 lines
405 B
C#
20 lines
405 B
C#
using System.Diagnostics;
|
|
|
|
namespace DiscordChatExporter.Gui.Utils;
|
|
|
|
internal static class ProcessEx
|
|
{
|
|
public static void StartShellExecute(string path)
|
|
{
|
|
using var process = new Process
|
|
{
|
|
StartInfo = new ProcessStartInfo
|
|
{
|
|
FileName = path,
|
|
UseShellExecute = true
|
|
}
|
|
};
|
|
|
|
process.Start();
|
|
}
|
|
} |