I need to pass output of bash shell to the python script.
- I am opening one emulator and once will get error message on terminal
- I want to parse some data from stdout and stderr using python script
- once parsing is done I want to terminate emulator(which is opened in bash script)
I tried using pipe-lining but here python script is not getting started until manually I'm not terminating emulator. eg:
./start.sh | python file.py
I want to achieve automation. I want to stream output of one script to input to python script.
Can you suggest a way to achieve streaming in the two scripts?
Regards, Mann