Open clayellis opened 7 years ago
@clayellis sorry for the slow response 😞 This is because of a limitation of ShellOut, that it currently only operates synchronously. This is definitely something that I want to fix, since some new tools that I'm working on that require user input are also blocked by this. Hopefully I (or someone else 😇) can get around to fixing it soon.
Marathon seems unable to run scripts that make use of
readLine()
.Steps to reproduce:
marathon create GetInput "import Foundation; print(\"Enter something\"); let result = readLine(); print(result)"
marathon run GetInput
Marathon will then hang indefinitely without even printing
Enter something
. However, if you navigate to the cache location and build/run the script there, everything works as expected.