diff --git a/docs/html/.doctrees/environment.pickle b/docs/html/.doctrees/environment.pickle index e14fcef7..004c3d11 100644 Binary files a/docs/html/.doctrees/environment.pickle and b/docs/html/.doctrees/environment.pickle differ diff --git a/docs/html/.doctrees/modules.doctree b/docs/html/.doctrees/modules.doctree index 094fe54a..0ae4354d 100644 Binary files a/docs/html/.doctrees/modules.doctree and b/docs/html/.doctrees/modules.doctree differ diff --git a/docs/html/.doctrees/pylorax.doctree b/docs/html/.doctrees/pylorax.doctree index 707dd925..b02ed717 100644 Binary files a/docs/html/.doctrees/pylorax.doctree and b/docs/html/.doctrees/pylorax.doctree differ diff --git a/docs/html/_modules/pylorax/executils.html b/docs/html/_modules/pylorax/executils.html index b23e6b24..0581a703 100644 --- a/docs/html/_modules/pylorax/executils.html +++ b/docs/html/_modules/pylorax/executils.html @@ -253,6 +253,7 @@ def _run_program(argv, root='/', stdin=None, stdout=None, env_prune=None, log_output=True, binary_output=False, filter_stderr=False, raise_err=False, callback=None): """ Run an external program, log the output and return it to the caller + :param argv: The command to run and argument :param root: The directory to chroot to before running command. :param stdin: The file object to read stdin from. @@ -320,6 +321,7 @@
Run an external program and capture standard out and err. -:param command: The command to run -:param argv: The argument list -:param stdin: The file object to read stdin from. -:param root: The directory to chroot to before running command. -:param log_output: Whether to log the output of command -:param filter_stderr: Whether stderr should be excluded from the returned output -:param raise_err: whether to raise a CalledProcessError if the returncode is non-zero -:return: The output of the command
+Run an external program and capture standard out and err.
+Parameters: |
|
+
---|---|
Returns: | The output of the command + |
+
Run an external program and redirect the output to a file. -:param command: The command to run -:param argv: The argument list -:param stdin: The file object to read stdin from. -:param stdout: Optional file object to redirect stdout and stderr to. -:param root: The directory to chroot to before running command. -:param env_prune: environment variable to remove before execution -:param log_output: whether to log the output of command -:param binary_output: whether to treat the output of command as binary data -:param raise_err: whether to raise a CalledProcessError if the returncode is non-zero -:param callback: method to call while waiting for process to finish, passed Popen object -:return: The return code of the command
+Run an external program and redirect the output to a file.
+Parameters: |
|
+
---|---|
Returns: | The return code of the command + |
+
Bases: pylorax.base.DataHolder