You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
process.chdir() in a test on Windows to a directory (except node_modules, or directories starting with a dot, e.g. .dirname, maybe more, but those are the ones I found)
Minimal Reproduction (run twice or create _mytestdir by hand before running code once):
When searching for files to test on Windows, Bun was opening directories with the DELETE access mask which could cause spawned processes to fail to change their working directory.
I will check some other devices, and close this issue, if they work as well.
What version of Bun is running?
1.1.13+bd6a60512
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
process.chdir()
in atest
on Windows to a directory (exceptnode_modules
, or directories starting with a dot, e.g..dirname
, maybe more, but those are the ones I found)Minimal Reproduction (run twice or create
_mytestdir
by hand before running code once):Larger example:
https://github.com/nobkd/bun-chdir-device-busy-repro (test run)(deleted)What is the expected behavior?
What do you see instead?
Additional information
Note: This issue doesn't really block me, it's just something that I encountered by chance.
The text was updated successfully, but these errors were encountered: