mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-31 10:49:03 +00:00
18
DiscordChatExporter.Gui/Internal/ProcessEx.cs
Normal file
18
DiscordChatExporter.Gui/Internal/ProcessEx.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace DiscordChatExporter.Gui.Internal
|
||||
{
|
||||
internal static class ProcessEx
|
||||
{
|
||||
public static void StartShellExecute(string path)
|
||||
{
|
||||
var startInfo = new ProcessStartInfo(path)
|
||||
{
|
||||
UseShellExecute = true
|
||||
};
|
||||
|
||||
using (Process.Start(startInfo))
|
||||
{ }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user