darktable-org / lua-scripts

148 stars 108 forks source link

Sanitize windows command interactions #469

Closed wpferguson closed 1 month ago

wpferguson commented 1 month ago

Added wrapper functions for io.popen() and os.execute() to employ the proper quoting to deal with windows spaces and character issues.

Fixed external_command() to use proper quoting and sanitizing.

Fixes #436 Fixes #401 Fixes #402 Fixes #443