You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
@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.The text was updated successfully, but these errors were encountered: