瀏覽代碼

backgrounding the script

Paul Klumpp 12 年之前
父節點
當前提交
f2f9b6a644
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mvd.lua

+ 1 - 1
mvd.lua

@@ -186,7 +186,7 @@ function mvd_stop()
             end
             if exec_script_on_system_after_recording ~= nil then
                 gi.dprintf('mvd.lua mvd_stop(): os.execute '..exec_script_on_system_after_recording..' "'..game..'" "'..mvd_file..'"\n')
-                local returnstuff = os.execute(exec_script_on_system_after_recording..' "'..game..'" "'..mvd_file..'"')
+                local returnstuff = os.execute(exec_script_on_system_after_recording..' "'..game..'" "'..mvd_file..'" &')
                 gi.dprintf('mvd.lua mvd_stop(): os.execute returns: '..returnstuff..'\n')
             end