-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start in user home #2
Comments
I was about to ask the same, caused by the discussion in mintty/wsltty#3 |
@mintty I know. I realized that the correct place to ask was upstream here. |
I think I agree that there should be some option for controlling the start dir. |
@rprichard By the way, this project is amazing.Was wondering if there is a way to make it work using ttys rather than ptys in WSL. |
@fpqc What do you mean by tty support? Regarding the feature request, there are three kinds of paths wslbridge could accept for the startdir: a Windows path, a Cygwin path, or a WSL path. My first instinct is that only WSL paths are worth handling -- the others can be accommodated by setting the starting directory before invoking wslbridge. Maybe wslbridge could have a |
wslbridge could also do things like substitute environment variables in |
@rprichard Only one worth doing is a WSL path. The other two can be legitimately achieved with the "start in" function of Windows. |
If the argument is '~' or starts with '~/', then the '~' is replaced with the content of the HOME environment variable. Implements #2
I added a -C option that changes the working directory before exec'ing the child process. It has special code to interpret a |
Cool! |
Hi, wondering if you can tell the wslbridge to start in the user's home.
The built-in bash.exe in system32 allows you to start it with
bash.exe ~ -c "linux program to start"
Is there a way to start the wslbridge in a specific lxss directory?
The text was updated successfully, but these errors were encountered: