manojlds/cmd

Code style

Closed this issue · 3 comments

I think python style isn't acceptable, code should be in C# style.

var cmd = new cmd();
cmd.FileName = "git";

var option = new option ();
option.name = "grep";
cmd.AddOption(option );

var argument = new argument();
argument.name = "grep";
argument.parameter = "test";
cmd.AddArgument(argument);

cmd.Execute;
var response = cmd.GetResponse;

Hi

Thanks for taking the time.

But if we do that, it basically boils down to System.Diagnostics.Process API, doesn't it?

I think we should include some additional features, like

  • run hidden
  • inject dll on start

Also I'm created repo with my own vision of external program interaction, look into it.

Thanks I will take a look.