فهرست منبع

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