WhitewaterFoundry / Pengwin-Enterprise

Enterprise-compatible WSL distribution.
Other
63 stars 11 forks source link

Fix cmd.exe usage on upcoming Win10 1903 version #49

Closed ghost closed 5 years ago

ghost commented 5 years ago

Pipes stderr from calling cmd.exe into /dev/null to silence the warning regarding the WSL directory cmd.exe is called from (due to underlying filfeystem changes). Should this change in the future, cmd.exe usage has been refactored into a function cmd_exe, and simply changing the current directory to Windows filesystem path (e.g. /mnt/c) then returning after is another way to silence this error.