Skip to content

Powershell Windows Output stops after ~100 lines #25333

Closed Answered by MikeDombo
MikeDombo asked this question in Actions
Discussion options

You must be logged in to vote

The answer is related to $erroractionpreference. It would seem that Powershell is reading our stderr and, when it sees the first line from that it throws the NativeCommandError, then it stops outputting all of our stdout and stderr. The command continue to execute all the tests, but eventually fails.

There are some weird ways to disable this behavior on powershell, but I think the best solution for us is to just fallback to cmd instead of powershell.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants