public async Task PipesAreAsynchronous() { var si = new ChildProcessStartInfo(TestUtil.DotnetCommand, TestUtil.TestChildPath, "EchoBack") { StdInputRedirection = InputRedirection.InputPipe, StdOutputRedirection = OutputRedirection.OutputPipe, StdErrorRedirection = OutputRedirection.ErrorPipe, }; using (var sut = ChildProcess.Start(si)) { await ChildProcessAssert.PipesAreAsynchronousAsync(sut); } }
public async Task PipesAreAsynchronous() { var si = new ProcessPipelineStartInfo() { StdInputRedirection = InputRedirection.InputPipe, StdOutputRedirection = OutputRedirection.OutputPipe, StdErrorRedirection = OutputRedirection.ErrorPipe, }; si.Add(TestUtil.TestChildPath, "EchoBack"); si.Add(TestUtil.TestChildPath, "EchoBack"); si.Add(TestUtil.TestChildPath, "EchoBack"); using (var sut = ProcessPipeline.Start(si)) { await ChildProcessAssert.PipesAreAsynchronousAsync(sut); } }