1
This commit is contained in:
@@ -138,13 +138,16 @@ namespace BITKit
|
||||
{
|
||||
StartInfo = StartInfo,
|
||||
};
|
||||
var reportBuilder = new StringBuilder();
|
||||
process.OutputDataReceived += (sender, args) =>
|
||||
{
|
||||
BIT4Log.Log<BITSharp>(args.Data);
|
||||
//BIT4Log.Log<BITSharp>(args.Data);
|
||||
reportBuilder.AppendLine(args.Data);
|
||||
};
|
||||
process.ErrorDataReceived += (sender, args) =>
|
||||
{
|
||||
BIT4Log.Warning<BITSharp>(args.Data);
|
||||
//BIT4Log.Warning<BITSharp>(args.Data);
|
||||
reportBuilder.AppendLine($"<color=yellow>{args.Data}</color>");
|
||||
};
|
||||
|
||||
process.Start();
|
||||
@@ -173,6 +176,8 @@ namespace BITKit
|
||||
}
|
||||
}
|
||||
|
||||
BIT4Log.Log<BITSharp>(reportBuilder);
|
||||
|
||||
waiting?.Release(handle);
|
||||
|
||||
return Assembly.Load(bytes);
|
||||
|
Reference in New Issue
Block a user