-
I'm using lua 5.4.6 with neovim and have a script that tries to get a file descriptor number when passed a path. I have some files with whitespace and these are not returning a fd. I've spent hours looking for how to accomplish this, but nothing is jumping out at me. Perhaps I've lost the forest for the trees. Last resort, I thought I'd come ask the people responsible for the thing. I've attempted the path as:
Everything is return 0 for the fd, but I know the file exists. Same code works for files without spaces. So passing /path/filename_without_spaces.ext returns a valid fd and my script continues. Didn't want to enter this as a bug if, in fact, it is pilot error. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Pilot error. There is something specific about the file I'm testing with. Gahh! Dumb of me to not try that before. |
Beta Was this translation helpful? Give feedback.
Pilot error. There is something specific about the file I'm testing with. Gahh! Dumb of me to not try that before.