Home | History | Annotate | Download | only in tools

Lines Matching refs:check_output

82     def check_output(self, *args, **kwargs):
83 """Wrapper for subprocess.check_output().
86 *args: to be passed to subprocess.check_output()
87 **kwargs: to be passed to subprocess.check_output()
89 Whatever subprocess.check_output() returns.
91 OSError or subprocess.CalledProcessError: raised by check_output.
95 return subprocess.check_output(*args, **kwargs)
98 """Wrap subprocess.check_output and str.strip().
100 Pass the given arguments into subprocess.check_output() and return
104 *args: to be passed to subprocess.check_output()
105 **kwargs: to be passed to subprocess.check_output()
111 OSError or subprocess.CalledProcessError: raised by check_output.
115 return str(subprocess.check_output(*args, **kwargs)).strip()