Document return type from utils.execute().
Change-Id: Id0bc0dff09a809fe3999c4ec5014ac40ccfd8d6d
This commit is contained in:
1
Authors
1
Authors
@@ -118,6 +118,7 @@ Ricardo Carrillo Cruz <emaildericky@gmail.com>
|
|||||||
Rick Clark <rick@openstack.org>
|
Rick Clark <rick@openstack.org>
|
||||||
Rick Harris <rconradharris@gmail.com>
|
Rick Harris <rconradharris@gmail.com>
|
||||||
Rob Kost <kost@isi.edu>
|
Rob Kost <kost@isi.edu>
|
||||||
|
Russell Bryant <rbryant@redhat.com>
|
||||||
Ryan Lane <rlane@wikimedia.org>
|
Ryan Lane <rlane@wikimedia.org>
|
||||||
Ryan Lucio <rlucio@internap.com>
|
Ryan Lucio <rlucio@internap.com>
|
||||||
Ryu Ishimoto <ryu@midokura.jp>
|
Ryu Ishimoto <ryu@midokura.jp>
|
||||||
|
|||||||
@@ -169,6 +169,9 @@ def execute(*cmd, **kwargs):
|
|||||||
|
|
||||||
:raises exception.Error on receiving unknown arguments
|
:raises exception.Error on receiving unknown arguments
|
||||||
:raises exception.ProcessExecutionError
|
:raises exception.ProcessExecutionError
|
||||||
|
|
||||||
|
:returns a tuple, (stdout, stderr) from the spawned process, or None if
|
||||||
|
the command fails.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
process_input = kwargs.pop('process_input', None)
|
process_input = kwargs.pop('process_input', None)
|
||||||
|
|||||||
Reference in New Issue
Block a user