I want to automate command-line utility that requires inputs at prompt. I have written the below program, but it is not working. Please help.
def execute_comm