title: why my tensorflow suspended？
body: <p>I have a python tensorflow script, named <code>train.py</code></p>
  
  <p>when I use <code>python train.py</code>, it trains successfully, but when I use <code>python train.py &gt;log</code>, the script suspends, and the last log is </p>
  
  <pre><code>I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -&gt; (device: 0, name: Tesla K40c, pci bus id: 0000:04:00.0)
  I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:1) -&gt; (device: 1, name: Tesla K40c, pci bus id: 0000:0a:00.0)
  I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:2) -&gt; (device: 2, name: Tesla K40c, pci bus id: 0000:84:00.0)
  I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:3) -&gt; (device: 3, name: Tesla K40c, pci bus id: 0000:8a:00.0)
  </code></pre>
  
  <p>I have try another simple python script named test.py which includes </p>
  
  <pre><code>while True:
     print "abc"
  </code></pre>
  
  <p>and use <code>python test.py &gt;log</code> &amp;, it runs successfully.</p>
  
  <p>My operating system is CentOs 6.2. 
  May be it not the tensorflow's problem. But I don't have any idea, so I can only post my status.</p>
  
  <p>Maybe useful:
    The same script is running in another directory successfully. But I <code>cp -r train.py</code> to this directory and change some parameters, it failes.</p>
  
  <p>Please help, thanks.</p>