in reply to not waiting for external command to complete before getting the output

I suggest use Expect; it's great for interactive sessions with anything. Documentation is a bit sparse, but it's worth taking the time to learn.


daN.
  • Comment on Re: not waiting for external command to complete before getting the output
  • Download Code