microsoft / microsoft/WSL

wsl --exec + interop options

Open
#6,071 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Is your feature request related to a problem? Please describe.
wsl -e echo $PATH is different to:

wsl
echo $PATH

Describe the solution you'd like
New options to disable interop: wsl -e --interop-enabled=false and wsl -e --interop-appendWindowsPath=false

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the WSL command option parsing and the code that handles interop and Windows PATH behavior. Confirm how wsl -e arguments are processed, then define completion as supporting the requested options and verifying their effect on command execution and $PATH.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.