I would like to create a custom plugin.lua in order to launch some exes and set environment variables prior to debugging (using Love2D, Win7 64-bit).
Following the examples, I populated a table to return from getLaunchCommandDebug:
function getLaunchCommandDebug(args)
local cmd0 = { “program1.exe” }
local cmd1 = { “program2.exe”}
local response = {
message = “I am about to launch Love2D”,
cmds = { cmd0,
cmd1 },
dir = args.buildFolder,
}
return response
end
Only the first argument in the cmds table (i.e. “program1.exe”) executes. As it’s written it seems that an arbitrary number of command-line calls could be provided in the cmds table, but that doesn’t seem to be the case or am I missing something obvious?