public async Task Test_Log() { CShell shell = new CShell(); shell.cd(testFolder); var commandResult = await shell.Cmd("dir /b TestA.txt").Execute(true); }
public async Task Test_Cmd() { CShell shell = new CShell(); shell.cd(testFolder); var result = await shell.Cmd("dir /b TestA.txt").AsString(); Assert.AreEqual("TestA.txt", result.Trim(), "AsString"); }