Skip to content
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

Python Files report being in C:\WINDOWS\system32 #3360

Closed
AronHegedues opened this issue Jan 31, 2021 · 1 comment
Closed

Python Files report being in C:\WINDOWS\system32 #3360

AronHegedues opened this issue Jan 31, 2021 · 1 comment
Assignees

Comments

@AronHegedues
Copy link

AronHegedues commented Jan 31, 2021

Describe the bug
Python scripts report having their working directories in C:\WINDOWS\system32 even though being somewhere else

To Reproduce
Steps to reproduce the behavior:

  1. Go to a random directory and create a python file with content like this:
import os

print(os.getcwd())  # prints working directory
  1. Execute it
  2. See that the working directory isn't the one the file is located in, but C:\WINDOWS\system32

Expected behavior
Show the correct working directory. If it's executed in C:\Users\User\Desktop then the directory shouldn't be C:\WINDOWS\system32

Screenshots
Screenshot 2021-01-31 015623

Desktop (please complete the following information):

  • OS Version: [Windows 10 20H2 19042.746]
  • App version: [v1.1.0.0]

Additional context
The problem doesn't go away, even if I restart my PC or switch to another computer

Log file
Please upload the log file here so that we can understand your issue better. You can access it from Settings->About->Open log location. You can also find this file by going to %localappdata%\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState , you should see a file in this directory called debug.txt or/and debug_fulltrust.txt.
debug.txt

@gave92
Copy link
Member

gave92 commented Sep 10, 2021

Can't reproduce in Files v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants