Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arguments passed to -e command line script are strangely modified #87

Open
knaka opened this issue Dec 20, 2021 · 0 comments
Open

Arguments passed to -e command line script are strangely modified #87

knaka opened this issue Dec 20, 2021 · 0 comments

Comments

@knaka
Copy link

knaka commented Dec 20, 2021

When I specify the script as a file, they are handled correctly.

$ groovyclient -version
Groovy Version: 3.0.9 JVM: 1.8.0_252 Vendor: Amazon.com Inc. OS: Mac OS X
GroovyServ Version: Server: 1.2.0
GroovyServ Version: Client: 1.2.0
$ cat test.gvy
println args
$ groovyclient test.gvy -foo -bar
[-foo, -bar]
$ groovy -e "println args" -foo -bar
[-foo, -bar]
$ groovyclient -e "println args" -foo -bar
[foo, -b, ar]
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant