Skip to content

Right way to run external app (for example bash command) from C#

Notifications You must be signed in to change notification settings

ZhivovOleg/Salt.ProcessLauncher

Repository files navigation

Right way to run external app (for example bash command) from C#

Use static class ProcessHelper:

    try
    {
        string result = await ProcessLauncher.RunAsync("dotnet", "build");
        Console.WriteLine(result);
    }
    catch (Exception exc)
    {
        Console.WriteLine(exc.Message);
    }

About

Right way to run external app (for example bash command) from C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages