File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class ProgressCallbackProtocol(Protocol):
8181 """Callback to report subprocess communication."""
8282
8383 def __call__ (self , output : AnyStr , timestamp : datetime .datetime ) -> None :
84- """Callback signature for subprocess communication."""
84+ """Process progress for subprocess communication."""
8585 ...
8686
8787
@@ -126,7 +126,9 @@ def run(
126126 check_returncode : bool = True ,
127127 callback : Optional [ProgressCallbackProtocol ] = None ,
128128) -> str :
129- """Run 'args' in a shell and return the combined contents of stdout and
129+ """Run a command.
130+
131+ Run 'args' in a shell and return the combined contents of stdout and
130132 stderr (Blocking). Throws an exception if the command exits non-zero.
131133
132134 Keyword arguments are passthrough to :class:`subprocess.Popen`.
You can’t perform that action at this time.
0 commit comments