expect_prompt: Expect prompt

View source: R/expect.R

expect_promptR Documentation

Expect prompt

Description

Wait until the prompt appears on the last line.

Usage

expect_prompt(session, interval = 0.5, timeout = NULL)

Arguments

session

A rexpect_session.

interval

Numerical. Time to wait between tries in seconds. Default: 0.5.

timeout

Numerical. Maximum amount of time to wait. Default: NULL.


datascienceworkshops/rexpect documentation built on April 26, 2024, 12:42 p.m.