-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Windows Version
Microsoft Windows [Version 10.0.26100.3037]
WSL Version
2.4.8.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
5.15.167.4-microsoft-standard-WSL2
Distro Version
Release: 24.04
Other Software
gzip 1.12-1ubuntu3
Repro Steps
Try to compress using pipe from host. For test input it is possible to use "wsl.exe"
type "C:\Program Files\WSL\wsl.exe" | wsl -d Ubuntu gzip > wsl.exe.gz
Expected Behavior
The compressed output is redirected to file.
Actual Behavior
type "C:\Program Files\WSL\wsl.exe" | wsl -d Ubuntu gzip > wsl.exe.gz
This command will hang indefinitely. gzip process is visible in pgrep, but probably not doing anything.
Diagnostic Logs
There no problems with a different compressor xz
type "C:\Program Files\WSL\wsl.exe" | wsl -d Ubuntu xz > wsl.exe.xz
Would create compressed version