title: Is there a way to send a continuous stream from a command output to a remote listener
body: <p>I'm using the netcat for unix.</p>
  
  <p>when I run <code>python script.py &amp;&gt; logfile.txt</code> , it gets captured continuously.</p>
  
  <p>To replicate this remotely, I tried <code>nc -l -p 8011</code> on the listener (client) and the following for the sender (host or server) :</p>
  
  <ol>
  <li><code>python script.py &amp;&gt; nc 127.0.0.1 8011</code></li>
  <li><code>python script.py &gt; nc 127.0.0.1 8011</code></li>
  <li><code>nc 127.0.0.1 8011 &lt; python script.py</code> </li>
  </ol>
  
  <p>But nothing seems to work. Please help.</p>