various scripts - reverted the calls to io_popen and os_execute back

to the respective lua calls.
This commit is contained in:
Bill Ferguson
2024-07-13 12:48:37 -04:00
parent 9f423eeef3
commit 1b272be5f5
14 changed files with 26 additions and 26 deletions

View File

@@ -69,7 +69,7 @@ script_data.show = nil -- only required for libs since the destroy_method only h
-- run command and retrieve stdout
local function get_stdout(cmd)
-- Open the command, for reading
local fd = assert(syslib.io_popen(cmd, 'r'))
local fd = assert(io.popen(cmd, 'r'))
darktable.control.read(fd)
-- slurp the whole file
local data = assert(fd:read('*a'))
@@ -188,4 +188,4 @@ darktable.register_event("autostyle", "post-import-image",
script_data.destroy = destroy
return script_data
return script_data