mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
.
This commit is contained in:
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…
x
Reference in New Issue
Block a user