Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
  • Carey Brown
  • salvin francis
  • Claude Moore

Help with executing bash script from groovy on mac  RSS feed

Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello eveyone,

I am using soapui in work and the person who setup the project has left the team and also set the project up for use on win machines.

he uses groovy script to start and stop a local test environment.

the command used to start the environment is

and in the groovy script the command is called on windows machine using :

We have now switched to using mac os and I can start the environment from terminal using

and all is fine.

when i try the groovy script above from within soapui it doesnt work

I changed the code to remove "bash" from the beginning of the command so it looks like this:

but still no joy,  

I know the local code path to where the bash script is located is correct so im guessing that its a different way of calling it on a mac,

I am pretty new to coding and groovy script and mac os, so any help would be appreciated.

kind regards


Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
Create Edit Print & Convert PDF Using Free API with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!