I might be missing the obvious, but I don't think the subprocess module has a method that will capture the standard output, standard error, and the exit code of a subprocess in a single call. It is ...
2015-12-09 10:39:21,400 [salt.state ][INFO ][83701] Running state [/usr/local/venvs/bbpf/bin/pip --no-cache-dir install -U pip] at time 10:39:21.400436 2015-12-09 10: ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results