Index: src/main/groovy/lang/GroovyShell.java =================================================================== --- src/main/groovy/lang/GroovyShell.java (revision 13739) +++ src/main/groovy/lang/GroovyShell.java (working copy) @@ -252,6 +252,7 @@ } if (script != null) { script.setBinding(context); + script.setProperty("args", args); return script.run(); } }