darktable-org / lua-scripts

155 stars 110 forks source link

Desanitize libs #496

Closed wpferguson closed 2 months ago

wpferguson commented 2 months ago

Reverted the io_popen and os_execute wrappers added to system library. Removed quote windows command.

Added a check to see if sanitizing the input string is necessary to get rid of needless sanitization of strings that led to other problems on windows.

Tested on Linux and windows with spaces in the command paths and the image paths.

Fixes #492