zsousaContributor9 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 nmrao9 years agoThanks I will try itzsousaContributor to zsousa9 years agothat was for windows how about MAC?nmraoChampion Level 3 to zsousa9 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 zsousa9 years agoTry changing first line to: def command = ["/bin/sh", "csvtojson", "/tmp/mydata.csv"] if your shell is bash - use "/bin/bash"
Related ContentChoosing programming languageJava.io.IOException - Cannot run program "C:\Program": CreateProcess error=2groovy script errorsTestComplete opening random windows programsParse a JSON Response Using Groovy
Recent DiscussionsAssert Step Not Executing All AssertionsInclude external files (XML) for JDBC connectionAccessing database connection string from groovy test stepJDBC database connection poolingJDBC "Some connection settings are not specified"