-
Notifications
You must be signed in to change notification settings - Fork 908
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When redirecting output, if anything attempts to write to the file stream, it causes this error. The error is related to using Console related properties and values in `PoshHostRawUserInterface`. The fix is to use the `IConsole` adapter instead of calling `System.Console` directly, as `IConsole` already has the ability to handle redirected output.
- Loading branch information
1 parent
7b6945b
commit f0e6256
Showing
1 changed file
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ferventcoder the formatting of this property seems a little inconsistent with the rest. Nothing major, just thought I would mention it when I saw it 😸