When using "expecting", if an expect appears again, the prompt will be executed automatically. Since the added expect may appear again, prompts may execute more than one times, which cause dead loop of all the prompts.
If I want to make prompts acting in a sequence and no repeat, what may be a good practice?
When using "expecting", if an expect appears again, the prompt will be executed automatically. Since the added expect may appear again, prompts may execute more than one times, which cause dead loop of all the prompts.
If I want to make prompts acting in a sequence and no repeat, what may be a good practice?