Closed rmchale closed 8 years ago
Sorry, I've noticed this issue just now.
Your sample code works well for me:
$ groovy sample.groovy
Type please: hello
You typed hello
$ groovyclient sample.groovy
Type please: hello
You typed hello
$ ./sample.groovy
Type please: hel
Do you want just an alternative way? Or, did you get an unexpected result?
What's the proper way to do a script like this?