Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Path translation when using WSL bash in integrated terminal  #40

Copy link
Copy link
@ricek

Description

@ricek
Issue body actions

Environment data

VS Code version: 1.18.0
Python Extension version: 0.8.0
Python Version: 3.6.3
OS and version: Windows 10 v1709 build 16299.19

Actual behavior

/usr/bin/python3 d:/Web/test.py

Expected behavior

/usr/bin/python3 /mnt/d/Web/test.py

Steps to reproduce:

  • In settings.json, add WSL and set python path to the one installed on WSL
  • "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\bash.exe"
  • "python.pythonPath": "/usr/bin/python3"
  • Run Python File in Terminal

Logs

Output from Python output panel

/usr/bin/python3: can't open file 'd:/Web/test.py': [Errno 2] No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalityRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.