fs.open('text', 'r')
This works perfectly fine and is designed so every program will work. However, a problem arises when the program needs to access a file thats not in the programs folder, for example if it were a text editor. To solve this I tried adding true to all FS calls that needed to access global files. This does work, it's not idea as it has to be added, but it works. The only issue is, if you then try to run a program with fs.func(..., true) an error such as 'Expected string' is thrown. Obviously, I don't want to have to make a special version for each program. Thoughts?












