Function
system_with_output
(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Source from the content-addressed store, hash-verified
| 25 | doxygen = "doxygen" #to make testing other versions easier |
| 26 | |
| 27 | def system_with_output(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE): |
| 28 | proc = subprocess.Popen("" + cmd, |
| 29 | stdout=stdout, |
| 30 | stderr=stderr, |
| 31 | shell=True, |
| 32 | universal_newlines=True) |
| 33 | std_out, std_err = proc.communicate() |
| 34 | return proc.returncode, std_out, std_err |
| 35 | |
| 36 | |
| 37 | deletion_queue = [] |
Tested by
no test coverage detected