Skip to content

Commit

Permalink
Implement use_inform='all', eliminate deprecated functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Aug 31, 2018
1 parent dd26989 commit 104081e
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 123 deletions.
7 changes: 6 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,9 @@ status. If you specify the 'O' or 'E' modes when using start(), those outputs
are simply discarded. This is a useful way of discarding uninteresting
diagnostics from the program you are calling.

*Cmd* also provides the *render* method, which converts the command to a string.
It takes the same optional arguments as does *render_command*.


Run
~~~
Expand Down Expand Up @@ -590,7 +593,9 @@ as keyword arguments.
*use_inform* indicates that the *Inform* exception *Error* should be raised if
the exit status from a command is not acceptable. If this not given or is False,
an OSError is raised instead. Use of this preference requires that *Inform* be
available.
available. If *use_inform* is True, then inform.Error() is used by *Cmd* and
its subclasses (*Run* and *Start*). If *use_inform* is "all", then
inform.Error() is used by all *shlib* functions and classes.

*log_cmd* specifies that the command and its exit status should be written to
the *Inform* log file. Use of this preference requires that *Inform* be
Expand Down

0 comments on commit 104081e

Please sign in to comment.