wsl2-boot icon indicating copy to clipboard operation
wsl2-boot copied to clipboard

Git requirement workaround

Open polachz opened this issue 2 years ago • 0 comments

Hi.

maybe this commad will work and helps to elliminate tee command from Windows Git suite.

try this and let me know if it works for you:

powershell.exe -command "& { powershell.exe -ExecutionPolicy Bypass -file .\wsl-boot.ps1 2>&1 | tee c:\boot.log}"

It uses native PowerShell tee scriptlet. On my computer it fills the log with status and error messages correctly.

Best Regards

Zdenek

polachz avatar Aug 27 '22 03:08 polachz