-
Michal Privoznik authored
We have two places currently where we run a system command using popen() and then read its output. Both places open code the handling. Introduce a helper function runCommand(). Two aforementioned places will be switched to it gradually as they have other issues too. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
1ca2247a