Skip to content

About

Command Line Wrapper Class

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

CommandLineWrapper

Command Line Wrapper Class

Usage

v executable = @"C:\Windows\System32\cmd.exe";
var path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "TestFile.txt");
var arg = $"/C copy /b nul  {path}";
var service = new CommandLineService(executable, arg, new CancellationTokenSource());
var timeout = TimeSpan.FromMilliseconds(500);
await service.ExecuteAsync(null, null, timeout);

About

Command Line Wrapper Class

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages