|
@@ -192,8 +192,8 @@ function mvd_script_exec()
|
|
|
gi.dprintf('mvd.lua mvd_script_exec(): getting cvars for custom script execution.\n')
|
|
|
local exec_str = ""
|
|
|
for k,v in ipairs(exec_script_cvars_as_parameters) do
|
|
|
- gi.dprintf('mvd.lua mvd_script_exec(): cvar %s - %s\n', k, v)
|
|
|
kstr = gi.cvar(v, "").string
|
|
|
+ gi.dprintf('mvd.lua mvd_script_exec(): cvar %s, %s: %s\n', k, v, kstr)
|
|
|
kstr = string_strip(kstr)
|
|
|
|
|
|
exec_str = exec_str..' "'..kstr..'"'
|
|
@@ -203,7 +203,7 @@ function mvd_script_exec()
|
|
|
else
|
|
|
gi.dprintf('mvd.lua mvd_script_exec(): standard script execution.\n')
|
|
|
-- using standard execution: <game> and <mvd_file>
|
|
|
- mvd_os_exec(exec_script_on_system_after_recording..' "'..game..'" "'..mvd_file..'"')
|
|
|
+ mvd_os_exec(exec_script_on_system_after_recording..' "'..game..'" "'..mvd_file..'"')
|
|
|
end
|
|
|
end
|
|
|
|