I\'m trying to execute a batch file in C#, but I\'m not getting any luck doing it.
I\'ve found multiple examples on the Internet doing it, but it is not working for
Using CliWrap:
var result = await Cli.Wrap("foobar.bat").ExecuteBufferedAsync(); var exitCode = result.ExitCode; var stdOut = result.StandardOutput;