• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in DevOps by
Q:

How To Run Shell Commands in Groovy?

1 Answer

0 votes
by

Groovy adds the execute method to String to make executing shells fairly easy

println "ls".execute().text

Related questions

0 votes
asked Nov 12, 2019 in DevOps by Robindeniel
0 votes
asked Dec 1, 2019 in DevOps by SakshiSharma
...