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 transferGroovy Script
Recent DiscussionsHow do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?Multipart requests getting blocked by the Azure WAF 200003Parameterising JDBC Connection Settings..Can you do it?Darshan Hiranandani - How do I use an API in my application?Mismatch between response from a CURL request and ReadyAPI responseSolved