master
parent
fb5ec3fb8d
commit
f9881831dc
|
@ -51,8 +51,8 @@ namespace NetworkResurrector.Agent.Application.Services.Windows
|
||||||
process.BeginErrorReadLine();
|
process.BeginErrorReadLine();
|
||||||
|
|
||||||
process.WaitForExit();
|
process.WaitForExit();
|
||||||
msg.Append($"Output:\n {commandOutput.ToString()}\n");
|
msg.Append($"Output:\n {commandOutput}\n");
|
||||||
msg.Append($"Errors:\n {commandError.ToString()}\n");
|
msg.Append($"Errors:\n {commandError}\n");
|
||||||
msg.Append($"Process ended at: {DateTime.Now}");
|
msg.Append($"Process ended at: {DateTime.Now}");
|
||||||
|
|
||||||
return (commandError.Length > 0, msg.ToString());
|
return (commandError.Length > 0, msg.ToString());
|
||||||
|
|
Loading…
Reference in New Issue