title: GridEngine qstat no output?
body: <p>I'm trying to write a simple program to fire off some qstat commands, and collate some relevant information.</p>
  
  <p>The first step of this is to run some a simple</p>
  
  <pre><code>qstat -u '*'
  </code></pre>
  
  <p>which I can then parse to work out the currently running jobs (doesn't seem to be an easy way to just list ths job ids)</p>
  
  <p>This command works completely fine when run from a terminal. My problem is that this command doesn't seem to work when run through Scala process:</p>
  
  <pre><code>scala&gt; import scala.sys.process._
  
  scala&gt; val qstatOutput = "qstat -u '*'" !!
  qstatOutput: String = ""
  </code></pre>
  
  <p>This is particularly confusing, since if I add a <code>-f</code>, the output works fine:</p>
  
  <pre><code>scala&gt; val qstatOutput = "qstat -f -u '*'" !!
  qstatOutput: String = "queuename                      qtype resv/used/tot. load_avg arch          states..."
  </code></pre>
  
  <p>Can anyone suggest why this might not be working?</p>