Skip to content

Instantly share code, notes, and snippets.

View tazlord's full-sized avatar

Jose Sanchez tazlord

View GitHub Profile
@tazlord
tazlord / ProcessAsyncHelper.cs
Last active February 1, 2024 02:08 — forked from AlexMAS/ProcessAsyncHelper.cs
The right way to run external process in .NET (async version)
using System;
using System.Diagnostics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// A helper class for executing external processes asynchronously.
/// </summary>
public static class ProcessAyncHelper