Chataigne icon indicating copy to clipboard operation
Chataigne copied to clipboard

MacOS "Launch Command File" does not work if filepath contains spaces

Open ww-wolt opened this issue 11 months ago • 1 comments

Environment

  • OS: MacOS 13.6 (22G120)
  • Chataigne Version [e.g. 1.9.24]

Describe the bug On MacOS Chataigne is not able to launch my provided .sh command file. The reason is clear: Chataigne does not put the filepath in quotation marks in the CD command it puts into terminal. It should be an very easy fix. Just add quotation marks in the generated statement and it works again.

To Reproduce Put an OS Module, Create Action somewhere where you try to launch a command file.

Expected behavior cd "filepath/with spaces/command.sh" && sh "command.sh" instead of cd filepath/with spaces/command.sh && sh "command.sh"

ww-wolt avatar Jan 03 '25 03:01 ww-wolt

easy fix, can you do it then ?

benkuper avatar Apr 18 '25 18:04 benkuper