Skip to content

Unexpected output for cwd in repl on windows when no workspace open #24005

@mjbvz

Description

@mjbvz

Testing #23994

  1. On windows
  2. With no workspace open
  3. In the repl, run:
import os
print(os.getcwd())

Expected

This should be /

Actual

The cwd seems to be the VS Code data folder

Image

Metadata

Metadata

Assignees

Labels

area-replbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions