Skip to content

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

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

Closed
mjbvz opened this issue Aug 27, 2024 · 1 comment
Closed

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

mjbvz opened this issue Aug 27, 2024 · 1 comment
Assignees
Labels
area-repl bug Issue identified by VS Code Team member as probable bug

Comments

@mjbvz
Copy link

mjbvz commented Aug 27, 2024

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

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Aug 27, 2024
@anthonykim1 anthonykim1 added bug Issue identified by VS Code Team member as probable bug area-repl and removed triage-needed Needs assignment to the proper sub-team labels Dec 9, 2024
@anthonykim1
Copy link

dup #24005

@anthonykim1 anthonykim1 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-repl bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants