expect_expectl

  • (PECL expect >= 0.1.0)
  • Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen