piotrmurach / tty-command

Execute shell commands with pretty output logging and capture stdout, stderr and exit status.
https://ttytoolkit.org
MIT License
400 stars 34 forks source link

Timeout when there isn't any output #43

Closed gverger closed 6 years ago

gverger commented 6 years ago

The timeout is currently handled each time a line is printed out by the system command. I have a problem with a command not outputting anything and not exiting either, and tty-command is not catching that.

I think it would be nice to keep checking the time while waiting for the next line.

piotrmurach commented 6 years ago

Released v0.8.0 with a new timeout.