From 770c4d5fa9687502a545aa528584f6e983ee9b05 Mon Sep 17 00:00:00 2001 From: Michael Adelson Date: Mon, 23 Dec 2019 11:14:58 -0500 Subject: [PATCH] Docs fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f53f8fa..6e6f633 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ command.StandardOutput.PipeToAsync(outputLines); // pipe output text to a collec You can also express piping directly on the `Command` object. This returns a new `Command` instance which represents both the underlying process execution and the IO piping operation, providing one thing you can await to know when everything has completed. You can even use this feature to chain together commands (like the `|` operator on the command line). ```C# await Command.Run("processingStep1.exe") - .PipeFromAsync(new FileInfo("input.txt")) + .RedirectFrom(new FileInfo("input.txt")) .PipeTo(Command.Run("processingStep2.exe")) .RedirectTo(new FileInfo("output.txt"));