I'm trying to use os.execute(), but I'm getting this problem:
attempt to call field 'execute' (a nil value)
I've done os = require 'os' but when I do: os.execute("mkdir" .. var) it's giving me the above error.
From what I've worked out, it's because it's not calling in all of the stuff from os, but I've looked and I can't figure out how to call in everything from os. In python i'd do from os import * but I don't know the code for lua. I've tried using package.loadlib('os', 'execute') but that didn't work. :/
EDIT: I did a separate test with love2D, and it worked. so I can't see why this isn't working...