title: groovy execute with parameters containing spaces
body: <p>How do I provide arguments containing spaces to the execute method of strings in groovy? Just adding spaces like one would in a shell does not help:</p>
  
  <pre><code>println 'ls "/tmp/folder with spaces"'.execute().text
  </code></pre>
  
  <p>This would give three broken arguments to the ls call.</p>