Skip to content

Running with a Windows .exe from WSL  #2108

Open
@TheExGenesis

Description

@TheExGenesis

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 -profile as a Windows path, not as a Linux path.

    run: {
        target:['firefox-desktop'],
        firefox: '/mnt/c/Program Files/Mozilla Firefox/firefox.exe',
        profileCreateIfMissing: true,
    },

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 .exe from WSL. It seems the only change needed is to pass profile as a Windows path rather than a linux path.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions