Skip to content

Conversation

emesx
Copy link

@emesx emesx commented Aug 17, 2014

Given a simple script:

args.eachWithIndex{ arg, idx -> println "$idx - $arg" }

run with a command:

> groovy test first second third.*

the Windows command line issues an error: The syntax of the command is incorrect.


I have modified the startGroovy.bat script to skip wildcard processing altogether. It's a very simple fix, but now the output is:

> groovy test first second third.*
0 - first
1 - second
2 - third.*

@daniellansun
Copy link

Merged. Thanks!
apache/groovy@a86a4f1

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

Successfully merging this pull request may close these issues.

3 participants