Closed windwp closed 8 years ago
I just found change this in Program.cs and sub command will excute
var commandEngine = new CommandEngine(command);
commandEngine.Run(new[] { string.Join(" ", args) });
This should work too.
var commandEngine = new CommandEngine(command);
commandEngine.Run(args);
Do you have to do "new[] { string.Join(" ", args) }", or it does not work?
Sorry my mistake, I forget to add quote in subcommand :) C:\Users\longt>myconsole.exe "runapp app1"
My sub command "app1" don't run in start when I excute it from dos Example: C:\Users\longt>myconsole.exe runapp app1