mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-23 06:24:48 +00:00
Refactor
This commit is contained in:
@@ -6,13 +6,15 @@ internal static class ProcessEx
|
||||
{
|
||||
public static void StartShellExecute(string path)
|
||||
{
|
||||
var startInfo = new ProcessStartInfo(path)
|
||||
using var process = new Process
|
||||
{
|
||||
UseShellExecute = true
|
||||
StartInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = path,
|
||||
UseShellExecute = true
|
||||
}
|
||||
};
|
||||
|
||||
using (Process.Start(startInfo))
|
||||
{
|
||||
}
|
||||
process.Start();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user