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

spawn locks cwd on Windows #647

Open
Legend-Master opened this issue Dec 8, 2023 · 0 comments
Open

spawn locks cwd on Windows #647

Legend-Master opened this issue Dec 8, 2023 · 0 comments

Comments

@Legend-Master
Copy link

Environment details

  • OS: Windows 10
  • OS version: 19045
  • node-pty version: current main branch d6ce76a

Issue description

Calling spawn locks cwd directory so that you can't rename/delete that folder

Some times I would right click a folder and click "open in integrated terminal" in vscode and leave it, and then some time after when I try to rename/delete that folder, it will tell me that folder is locked (it doesn't tell you what's locking it, and since I don't know terminal/shell would do that, I did end up closing every app)

Windows Terminal fixed this by always spawning the shell process (or change it to later on) on C:\windows\system32: microsoft/terminal#5506 (comment)

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

1 participant