Skip to content
  • Michal Privoznik's avatar
    util: Introduce runCommand() · 1ca2247a
    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: default avatarMichal Privoznik <mprivozn@redhat.com>
    1ca2247a