I have a project in grails I made and I also have an install packager (inno-setup) that I am using to distribute installs of some software. I use a portal i made generate a config file that the installer uses to package the software needed. However I am trying to get my portal (which is made in grails) to feed the install packager the script and generate the file. Right now I have to do it myself in Command Prompt. Is there any way to have grails open command prompt, type in what I need to generate the install, execute, and then close command prompt?
Share
You can use java.lang.Runtime.exec(String command) to execute a shell script from Java.