mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
@@ -31,18 +31,18 @@ namespace ServiceInstall
|
||||
}
|
||||
|
||||
var startInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
CreateNoWindow = true
|
||||
};
|
||||
{
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
CreateNoWindow = true
|
||||
};
|
||||
|
||||
var process = new Process { StartInfo = startInfo };
|
||||
process.OutputDataReceived += (OnDataReceived);
|
||||
process.ErrorDataReceived += (OnDataReceived);
|
||||
process.OutputDataReceived += OnDataReceived;
|
||||
process.ErrorDataReceived += OnDataReceived;
|
||||
|
||||
process.Start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user