title: Return value of process to String
body: <p>I'm attempting to return the source of a page using the wget command to String using command : </p>
  
  <pre><code>val url: String = "https://morningconsult.com/alert/house-passes-employee-stock-options-bill-aimed-startups/"
  import sys.process._
  val result: String = ("wget -qO- " + url !).toString
  println("result : " + result);
  </code></pre>
  
  <p>but return value is 0. This is output of code :  </p>
  
  <pre><code>result : 0
  </code></pre>
  
  <p>How to access the return value of <code>wget</code> in a variable , in this case the source value of the url ?</p>