Skip to content

A process library that lets you get output from terminal processes in a single line using async/await

Notifications You must be signed in to change notification settings

ScienceVikings/SVL.Process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A process library that lets you get output from terminal processes in a single line using async/await

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages