Fixed a race condition in ProcessHelper

pull/972/head
Tobias Greinert 2022-09-27 13:48:11 +02:00
parent e380e6c64e
commit b1426a1755
1 changed files with 0 additions and 1 deletions

View File

@ -249,7 +249,6 @@ namespace WinSW.Util
// Redirect logs if required
if (logHandler != null)
{
Logger.Debug("Forwarding logs of the process " + processToStart + " to " + logHandler);
logHandler.Log(
ps.RedirectStandardOutput ? processToStart.StandardOutput : StreamReader.Null,
ps.RedirectStandardError ? processToStart.StandardError : StreamReader.Null);