Skip to content

Commit

Permalink
Docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
madelson committed Dec 23, 2019
1 parent 2afc719 commit 770c4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand Down

0 comments on commit 770c4d5

Please sign in to comment.