Don’t parse the pipeline as text when it is directed from an EXE to another EXE or file. Keep the bytes as-is.
See original GitHub issueCurrently PowerShell parses STDOUT as string when piping from an EXE, while in some cases it should be preserved as a byte stream, like this scenario:
curl.exe http://whatever/a.png > a.png
or
node a.js | gzip -c > out.gz
Affected patterns include: native | native
, native > file
and (maybe) cat file | native
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:101
- Comments:67 (4 by maintainers)
Top Results From Across the Web
Don't parse the pipeline as text when it is directed from ...
Don't parse the pipeline as text when it is directed from an EXE to another EXE or file. Keep the bytes as-is. #18737....
Read more >Not able to run an exe in jenkins pipeline using powershell
Something like this cmd /c "C:\Jenkins\workspace\utils\disable.exe" -f xmlPath 0 > debug.txt . You can see if the text file is generated at all....
Read more >Untitled
What's in a coconut, I don t want nobody else but you? ... St george transportation services, Driverpack solution exe file download, Tony...
Read more >Untitled
#exe Free gps tracking software to track mobile phones, Retunetm mobile ... What does dispenser do in minecraft xbox, Import large text file...
Read more >RStudio & Posit Workbench Release Notes
Both YAML tag: value syntax and valid R expressions will be parsed. ... After upgrading code-server , the exe setting in vscode.conf may...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Forgot to mark the PR as resolving this issue! The PR was merged on 04/27, should be in the next preview 🎉 Closing
Oh also when it does make it to preview, remember to run
Enable-ExperimentalFeature PSNativeCommandPreserveBytePipe
and file any feedback if you find issues ❤️@potatoqualitee yeah, my PR is ready for review now (#17857). It is a large change in a sensitive area of the code base, so don’t expect a speedy review, but it’s comin’.