title: Cannot see error that occured inside a julia @spawn method
body: <p>I want to run multiple 'processes' in parallel in julia<br>
  For this, I use <code>@spawn</code></p>
  
  <p>However I don't see errors that occur in the spawned subprocess<br>
  The subprocess dies, but no error message</p>
  
  <p>In a terminal, run julia and then, inside the julia vm(?), type the following:</p>
  
  <pre><code>function sub()
   println("1")
   error("2")
   println("3")
  end
  subproc = @spawn sub()
  </code></pre>
  
  <p>It prints '1', but nothing more</p>
  
  <p>Is using <code>@spawn</code> the correct way? Where is the error output stream gone to? How can I see errors?</p>
  
  <p>Thanks
  Imran</p>