Handling an interactive script from another script , using python
<p>I have a shell script and this one is interactive and I am creating some automation to provide inputs to this shell scripts. The automation is done using Python. example,</p>

<p>the shell script waits for an input like, "what is the domain name?"
now the python should be able to provide the input and press ENTER. </p>

<p>Please provide solutions to handle this kind of session with some example.</p>

<p>Thanks,
OpenFile</p>
