in reply to Input Enter while Execution of a process
Did you try simply piping echo?
system ("echo | zsh foo.sh");
I would rather do this than head off down the Expect rabbit hole if it is all that's required.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Input Enter while Execution of a process
by Corion (Patriarch) on Sep 04, 2017 at 11:38 UTC |