Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 499 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 499 Bytes

SVL.Process

This is a library that will let you run a process as an asyncronous task and await its output as a string.

var whoami = await Process.Run("whoami");

It's that easy!

You can also use arguments and environment variables!

var ls = await Process.Run("ls", ".");

var myVar = await Process.Run("printenv", "MY_VAR", new Dictionary<string, string>()
{
    { "MY_VAR", myStr }
});

If you think I can add any cool or useful features to it, please add an issue.