mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
26 lines
670 B
C#
26 lines
670 B
C#
using System.Diagnostics;
|
|
using System.IO;
|
|
using System.Text.Json;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Flow.Launcher.Core.Plugin
|
|
{
|
|
internal sealed class ExecutablePluginV2 : ProcessStreamPluginV2
|
|
{
|
|
protected override ProcessStartInfo StartInfo { get; set; }
|
|
|
|
public ExecutablePluginV2(string filename)
|
|
{
|
|
StartInfo = new ProcessStartInfo
|
|
{
|
|
FileName = filename,
|
|
UseShellExecute = false,
|
|
CreateNoWindow = true,
|
|
RedirectStandardOutput = true,
|
|
RedirectStandardError = true
|
|
};
|
|
}
|
|
|
|
}
|
|
}
|