title: Scala system command working differently from commandline
body: <p>I'm executing this command in terminal and it works just fine: </p>
  
  <pre><code>curl -d "sentence=Jack sold the car to Jenny" austen.cs.illinois.edu:8082/parse
  </code></pre>
  
  <p>On the other hand executing things don't seem to be working in Scala: </p>
  
  <pre><code>import sys.process._
  val output = s"""curl -d \"sentence=Jack sold the car to Jenny\" austen.cs.illinois.edu:8082/parse""".!!
  println(output.split("\t"))
  </code></pre>
  
  <p>which outputs: </p>
  
  <pre><code>[error]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  [error]                                  Dload  Upload   Total   Spent    Left  Speed
  [error] 
  [error]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: sold
  [error] curl: (6) Could not resolve host: the
  [error] 
  [error]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: car
  [error] curl: (6) Could not resolve host: to
  [error] curl: (6) Could not resolve host: Jenny"
  [error] 
  [error] 100    37  100    23  100    14    153     93 --:--:-- --:--:-- --:--:--   153
  </code></pre>
  
  <p>Thoughts why I see different behaviors here? </p>