Comments (3)
Is there a way to make rexpect timeout in some way like pexpect?
from rexpect.
@yancyribbens: From the docs of spawn
:
timeout
: If Some: allexp_*
commands time out after x milliseconds, if None: never times out. Itβs highly recommended to put a timeout there, as otherwise in case of a problem the program just hangs instead of exiting with an error message indicating where it stopped. For automation 30β000 (30s, the default in pexpect) is a good value.
from rexpect.
that works
from rexpect.
Related Issues (20)
- Sporadically failing CI testcases HOT 1
- Unicode output does not roundtrip HOT 4
- Capturing stderr HOT 4
- A new release?
- Allow specifying terminal size
- how to give env var input for rexpect::spawn?
- Debugging
- better support for embedded targets, ssh HOT 2
- replwrap style run function HOT 2
- test_read_line fails randomly HOT 4
- Moving repository to CLI-WG org? HOT 11
- Update on crates.io HOT 4
- Testing rexpect app
- bash_read.rs: use rexpect::error::Error; --> could not find `error` in `rexpect` HOT 7
- RFC: Create another dir to host Cargo.toml file and directory layout to test/learn examples HOT 10
- RFC on README.md change HOT 2
- spawn() does not return Error when trying to start an invalid program
- Performance differences between spawn() and spawn_bash() HOT 2
- execute 'ls -l' to stdout HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rexpect.