def _view_output_suppressed(popen_args=[]):
    popen = subprocess.Popen(
        popen_args, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
    stdout, stderr = popen.communicate()
    exception = sys.exc_info()[1]
    return stdout, stderr, exception
Optionally view suppressed output.
dataset/ETHPy150Open christabor/MoAL/MOAL/test_files.py/_view_output_suppressed