-
Notifications
You must be signed in to change notification settings - Fork 336
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
Running with a Windows .exe from WSL #2108
Comments
|
We have discussed about this in our triage meeting today and we are willing to review and merge changes that may make this use case possible and easier. To make it easier to support this, we could introduce a special wsl mode, we could either introduce a new I think that I may prefer an explicit Whe the
I'm willing to mentor a contributor that may want to try to implement this strategy and create a pull request, and so I'm marking this issue as |
|
For reasons unrelated to this issue I've been using windows for a bit and I took that opportunity to look for reasonable implementation strategies for the issues we already know about (in particular path conversions) and to double-check if there may be other kind of issues that we will need to solve.
|
|
New to the topic completely. But ran into this today on WSL2. Would it be possible to manually configure the listening host? As it is, WSL2 development requires a lot of filling in configs with the current IP address acting as localhost ( |
|
Is there a workaround for this? It seems impossible to develop Firefox extensions on WSL2? |
|
Can relate to this error. I get the following along with an error from Firefox it-self: Running Firefox with WSL paths: Running Firefox with WSL binary-path and Windows profile-path: EDIT: EDIT 2: |
|
Could this be solved with wsplath from WSLU which is installed by default with the Ubuntu distribution? WSL Utilities package provides ability to use the wslpath command. Example usage: cd $(wslpath 'C:\Users\Documents') The reverse conversion is also possible with the -w option: mspaint.exe $(wslpath -w ~/profile.jpg) |
|
For Windows/WSL environments, using a 'softlink' approach using the Windows buit-in 'mklink' command can also be combined by the developer to help this issue. This would require a documentation update targeted at WSL users and perhaps a targeted error message. For example, the something along the following command should be helpful: |
Is this a feature request or a bug?
Feature
What is the current behavior?
I'm using WSL to develop.
I want to use a Windows
firefox.exe. It only works if you pass it-profileas a Windows path, not as a Linux path.I set my TMPDIR to a Windows path, but it's interpreted as a relative path and the profile directory is appended in linux-style.
export TMPDIR='C:\Users\frsc\AppData\Roaming\Mozilla\Firefox\Profiles'Error: ENOENT: no such file or directory, mkdir '/mnt/c/Users/frsc/Documents/Projects/th/appTh/localTsTh/C:\Users\frsc\AppData\Roaming\Mozilla\Firefox\Profiles/bbf19a52-6815-4788-84eb-3b8c6cf3874e'What is the expected or desired behavior?
I'd like to be able to run web-ext with a windows
.exefrom WSL. It seems the only change needed is to pass profile as a Windows path rather than a linux path.The text was updated successfully, but these errors were encountered: