Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Added path resolution to support unsafe access to bash filesystem. #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

aHooder
Copy link

@aHooder aHooder commented Sep 2, 2016

More detailed explanation:

  • Added the environment variable: WSL_PATH to bash. This is declared when outbash launches bash. It contains the location of the bash environment, which is %LOCALAPPDATA%\lxss. If your bash environment is located elsewhere, the code will have to be changed and recompiled. A compile-time variable might be added in the future.
  • The run commands now check if any argument is a path and replaces it with the absolute path if that's the case.
  • This does not replace relative or absolute paths for any argument consisting of more than just a path.

@xilun
Copy link
Owner

xilun commented Sep 8, 2016

I'm a little busy, I'll probably take a look this WE.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants