Github user spmallette commented on the issue:

    https://github.com/apache/tinkerpop/pull/791
  
    
    What were you trying? seems to work for me:
    
    ```text
    $ cat x.groovy
    println "123"
    $ bin/gremlin.sh -e x.groovy
    123
    $ bin/gremlin.sh -e=x.groovy
    123
    $ bin/gremlin.sh -i=x.groovy
    
             \,,,/
             (o o)
    -----oOOo-(3)-oOOo-----
    plugin activated: tinkerpop.server
    plugin activated: tinkerpop.utilities
    plugin activated: tinkerpop.tinkergraph
    123
    gremlin> :x
    $ bin/gremlin.sh --interactive=x.groovy
    
             \,,,/
             (o o)
    -----oOOo-(3)-oOOo-----
    plugin activated: tinkerpop.server
    plugin activated: tinkerpop.utilities
    plugin activated: tinkerpop.tinkergraph
    123
    gremlin> :x
    $ bin/gremlin.sh --execute=x.groovy
    123
    $ bin/gremlin.sh --execute x.groovy
    123
    ```


---

Reply via email to