Change current working directory with Lua
Open
progress/1
- Dominant language
- Rust
- Stars
- 147
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Need something like `fs.chdir` to change current working directory with Lua.
Example usage:
```
local err = fs.chdir("/this/path/exists")
assert(err == nil, "Failed to chdir to existing directory")
local err = fs.chdir("/no/such/path")
assert(err != nil, "Chdir to nonexistent directory succeeded")
```
`err` should be string describing the failed syscall.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.