-
Notifications
You must be signed in to change notification settings - Fork 2
Description
With these commits:
we are filtering PATH on WSL by probing /proc to see if we are running under WSL. This is in order to make the distribution usable on that platform. However, we are missing an opportunity here, in one place we could potentially test windows and unix style shells. The challenge is going to be writing the test config files for windows in the appropriate temp space (Windows apps cannot read WSL's /tmp). One solution is to use cmd.exe to print the appropriate environment variable. Another is to only test windows shells on WSL if an environment variable is set specifying the temp space. The latter would be useful for developer testing, but requires opt-in (which may not be a bad thing). Another challenge is converting between WSL and Windows paths. On cygwin/msys there is an API for this.