Move ProcessHelper to Extensions.
RENAME
WalletWasabi/Helpers/ProcessHelpers.cs
WalletWasabi/Extensions/ProcessExtensions.cs
@@ -5,15 +5,15 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
-namespace WalletWasabi.Helpers
+namespace System.Diagnostics
{
- public static class ProcessHelpers
+ public static class ProcessExtensions
{
public static async Task WaitForExitAsync(this Process process, CancellationToken cancellationToken)
{
while (!cancellationToken.IsCancellationRequested)
{
- await Task.Delay(500);
+ await Task.Delay(500, cancellationToken);
if (process.HasExited) break;
}
}

Move ProcessHelper to Extensions.