• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Help with executing bash script from groovy on mac

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

Matthew


 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic