How to pass output of one script as input of other script
<p>I need to pass output of bash shell to the python script.</p>

<ol>
<li>I am opening one emulator and once will get error message on terminal </li>
<li>I want to parse some data from stdout and stderr using python script</li>
<li>once parsing is done I want to terminate emulator(which is opened in bash script)  </li>
</ol>

<p>I tried using pipe-lining but here python script is not getting started until manually I'm not terminating emulator.
eg:</p>

<pre><code>./start.sh | python file.py
</code></pre>

<p>I want to achieve automation.
I want to stream output of one script to input to python script.</p>

<p>Can you suggest a way to achieve streaming in the two scripts?</p>

<p>Regards,
Mann</p>
