From 8d264aaa0df429e8c07489952db0d5297caa9912 Mon Sep 17 00:00:00 2001 From: samhippo <63636707+samhippo@users.noreply.github.com> Date: Mon, 27 Apr 2020 09:05:17 -0700 Subject: [PATCH] Update delete-file.lua --- delete-file.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/delete-file.lua b/delete-file.lua index 00feb6d..1a6df63 100644 --- a/delete-file.lua +++ b/delete-file.lua @@ -1,6 +1,5 @@ local utils = require "mp.utils" function main() - mp.commandv('pause') local fileToDelete = string.gsub(mp.get_property("path"), "/", "\\") local args = {'cmd.exe', '/C', 'del', fileToDelete} utils.subprocess({args = args, playback_only = false})