I created a build system for Lua, as follows:
{
"cmd": "lua", "$file"],
"selector": "source.lua"
}
When I attempt to build a file, the only output is:
[Error 6] The handle is invalid
[Finished]
I’m attempting to use this on a restricted Windows computer at my school. The Lua executable is located in a temporary folder which is in my path (I’ve also tried with the absolute path). If I run the exact command that Sublime says it executes (in the console) from the command prompt, it works fine. The build system works fine on my Linux machine (I haven’t had a chance to test on my unrestricted Windows computer).
I’ve tried both 32 and 64 bit Lua binaries as well as different distributions, to no avail. Different executables - such as the python distribution that is provided on the computer - fail in the same way.
Is this a bug?