zsousaContributor8 years agoCan Groovy run an extral program I have a third part executable that accepts parameters. I want to call this program and pass in those parameters through Groovy. but its not executing the file. I found this cool utility called "...Show More
zsousaContributor to nmrao8 years agoThanks I will try itzsousaContributor to zsousa8 years agothat was for windows how about MAC?nmraoChampion Level 3 to zsousa8 years agoTry changing first line to: def command = ["/bin/sh", "csvtojson", "/tmp/mydata.csv"] if your shell is bash - use "/bin/bash"Show More
nmraoChampion Level 3 to zsousa8 years agoTry changing first line to: def command = ["/bin/sh", "csvtojson", "/tmp/mydata.csv"] if your shell is bash - use "/bin/bash"
Related ContentJava.io.IOException - Cannot run program "C:\Program": CreateProcess error=2groovy script errorsTestComplete opening random windows programsSoapUi Groovy conditional property transferCan Rhino Javascript execute an external program?
Recent DiscussionsExecuting test case loop multiple timesError connecting to Postgress DB in ReadyAPI 3.52.0SolvedGroovyScript - Extract specific number of attribute values from variable content responseSolvedHow to create Identical GET request with different parameters in same projectSolvedPath parameter always gives default response