Closed jeffctown closed 7 years ago
Hi @jeffctown π Thanks a lot for this bug report - I have fixed it in this PR: https://github.com/JohnSundell/Marathon/pull/115.
@JohnSundell you are the man. thanks so much. i will try it out tonight.
I can confirm your fix works! πΎπΎπΎ
$ marathon run post-to-slack.swift -m "Two Words." MessageArg.value: Two Words. Message: Two Words.
Awesome! π Happy scripting π
Hey there. I'm new to Marathon, but have been loving it so far. I started working on a script to post a message to the Slack API that I would like to run using marathon, but I have run into issues when an argument has spaces in it. Running this script via the executable seems to have a different behavior than running the script using Marathon.
Here is my Marathonfile:
Here is the content of my script's main.swift:
I originally posted an issue with the Moderator repo thinking it was an issue with that project, but the owner of Moderator showed be that what I run this script via the executable it works fine. It is only when I run this script using Marathon that I run into issues.
Using single or double quotes for argument values does not seem to work with marathon. How can I run a script in marathon that has an argument value with spaces?