File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ def _text_encoding():
386
386
387
387
def call (* popenargs , timeout = None , ** kwargs ):
388
388
"""Run command with arguments. Wait for command to complete or
389
- timeout, then return the returncode attribute.
389
+ for timeout seconds , then return the returncode attribute.
390
390
391
391
The arguments are the same as for the Popen constructor. Example:
392
392
@@ -523,8 +523,8 @@ def run(*popenargs,
523
523
in the returncode attribute, and output & stderr attributes if those streams
524
524
were captured.
525
525
526
- If timeout is given, and the process takes too long, a TimeoutExpired
527
- exception will be raised.
526
+ If timeout (seconds) is given and the process takes too long,
527
+ a TimeoutExpired exception will be raised.
528
528
529
529
There is an optional argument "input", allowing you to
530
530
pass bytes or a string to the subprocess's stdin. If you use this argument
You can’t perform that action at this time.
0 commit comments