STORM-4106 Fix Storm.ps1 stdout/stderr feedback in Powershell ISE #3740
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
Addresses STORM-4106. Stdout\Stderr feedback when launching Storm.ps1 in Powershell ISE now works with this change
Feedback from regular Powershell cmd prompt continues to work with this fix too.
How was the change tested
Open Powershell ISE and run Storm.ps1 to run a command (e..g show usage with ./storm1.ps1 -h)
Before the fix the Powershell ISE returns nothing output from Storm.ps1
With this fix the output Storm.ps1 is seen in Powershell ISE command window (and continues to be seen in regular Powershell cmd prompt)
See attached screenshots from before and after fix for both Powershell ISE and regular Powershell command prompts
Before Fix
After Fix