OK, it was definitely my fault. I keep telling myself I need to stop assuming the modules I use are at fault.
I was doing $input = "new command\n" instead of $input .= "new command\n", so I guess in some cases existing input got clobbered before being pumped into the harness.
Thanks again!
In reply to Re^2: Automating a shell session: cd does not work
by pokki
in thread Automating a shell session: cd does not work
by pokki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |