How can I call a native shell script from a Groovy / Grails Application?
The shell script resides on the same machine.
This page should answer all your questions.
You can use the Groosh module (link)