a library of system utilities for use in darktable lua scripts
local dtsys = require "lib/dtutils.system"
This library contains routines for interfacing to the operating system from darktable lua scripts.
dtsys - library - the darktable lua system library
pass a command to the operating system for execution and return the result
open file in default application
pass a command to the windows operating system for execution and return the result
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.