So, from what I understand (Please correct me if I'm wrong), that in lua, when you're opening it from cmd, the standard output is the terminal window, and in the Lua Reference Manual, it says that I can change the output of the program to something else (e.g. a text file).
Spoiler
What I tried to do in a program, is make it redirect the feedback from windows functions (using os.execute) to a throwaway file, then redirect to the standard output when done. However, when I tried it, it didn't really work. As in, it didn't change the output at all. Could someone please explain this to me?Important Code:
Spoiler











