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