Closed SpeckyYT closed 2 years ago
Won't merge yet, need to check cross platform behaviour as fs can be inconsistent across OSes (should have done this for initial @path
pr too)
Input path is always normalized and then a formatted version is sent to the FS, therefore except the ~/
problem, I don't really know what other problems there might be.
If anyone finds anything, let me know.
what's the ~/
problem
what's the
~/
problem
~/../
should give /
if you're on root or main account, else it should give /home/
you can technically fix this by using the $HOME
environment variable if you have access to that
My main question is... would anyone care if the FS utility isn't perfect? It's a programming language made for compiling to geometry dash triggers, already the current system is more advanced then what it's needed.
truee
but spwn needs environment variables what if someone wants to use discord.spwn
My main question is... would anyone care if the FS utility isn't perfect? It's a programming language made for compiling to geometry dash triggers, already the current system is more advanced then what it's needed.
If you're going to have paths in any language, do them right.
Rewrote @path errors to something more epic