Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use PapiSocketProvider for most PAPI calls
[csit.git]
/
resources
/
libraries
/
python
/
LocalExecution.py
diff --git
a/resources/libraries/python/LocalExecution.py
b/resources/libraries/python/LocalExecution.py
index
bb4cf79
..
f9a7b94
100644
(file)
--- a/
resources/libraries/python/LocalExecution.py
+++ b/
resources/libraries/python/LocalExecution.py
@@
-40,7
+40,7
@@
__all__ = ["run"]
MESSAGE_TEMPLATE = "Command {com} ended with RC {ret} and output:\n{out}"
MESSAGE_TEMPLATE = "Command {com} ended with RC {ret} and output:\n{out}"
-def run(command, msg="", check=
False, log=Tru
e, console=False):
+def run(command, msg="", check=
True, log=Fals
e, console=False):
"""Wrapper around subprocess.check_output that can tolerates nonzero RCs.
Stderr is redirected to stdout, so it is part of output
"""Wrapper around subprocess.check_output that can tolerates nonzero RCs.
Stderr is redirected to stdout, so it is part of output