That's helpful snippet. Just from running that code with the target CL app, I see I wasn't distinguishing between output that came via STDERR and STDOUT in my Expect example.
I read about IPC::Open2/3 before, and briefly gandered IPC::Run, so I don't know what I got waylaid by Expect.
I guess I expected something more... Also, the 'select' call is something new to me. Worth learning about.
In reply to Re^2: Getting Call-Response Behavior with Expect
by gnosti
in thread Getting Call-Response Behavior with Expect
by gnosti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |