Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ww-wolt opened this issue Jan 3, 2025 · 0 comments
Open

Comments

@ww-wolt
Copy link

ww-wolt commented Jan 3, 2025

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant