Skip to content

Commit

Permalink
Document change.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed May 29, 2016
1 parent c466671 commit 3e3cd7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ If the command fails (with a non-zero exit code), a `TTY::Command::ExitError` is
* stdout bytes
* stderr bytes

If the error output is very long, the stderr may contain only a prefix, number of omitted bytes and suffix.

### 2.2 Run!

If you expect a command to fail occasionally, use `run!` instead. Then you can detect failures and respond appropriately. For example:
Expand Down

0 comments on commit 3e3cd7c

Please sign in to comment.