[*] Fixes for V8 post build commands

This commit is contained in:
Reece Wilson 2022-03-07 22:35:49 +00:00
parent 2505140cb3
commit 0ce8e3e9c5

View File

@ -136,10 +136,18 @@ if (projectBins) then
if (projectNameEx) then
binName = string.format("%s.%s.%s.%s", binName, projCfg, projPlatform, projArch)
end
local binSuffx = ""
if (args) then
binSuffx = " " .. args
end
binName = binName .. extension
local cmd = escapeBinaryPath(path.join(projectBins, binName)) .. binSuffx
if (os.host() == "windows") then
cmd = "call " .. cmd
end
os.exit(os.execute(cmd))
end