mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-27 08:23:03 +00:00
Cleanup
This commit is contained in:
17
DiscordChatExporter.Gui/Utils/ProcessEx.cs
Normal file
17
DiscordChatExporter.Gui/Utils/ProcessEx.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace DiscordChatExporter.Gui.Utils
|
||||
{
|
||||
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