title: Multiple shell commands executed in one process in groovy script
body: <p>I want to fetch a npm package and untar it in a groovy script like so:</p>
  
  <pre><code>def cmd = "cd .composerpages/umanagement &amp;&amp; npm pack @mag-umanagement/umanagement-pages-v2810@^28.10.4-SNAPSHOT &amp;&amp; tar xvzf *.tgz"
  cmd.execute()
  </code></pre>
  
  <p>Unfortunately, it executes only the first term (cd .composerpages/umanagement).</p>
  
  <p>Is there a way to have multiple commands executed in one shell process?</p>