code: def run_command(cmd, *args):
      
      command = ' '.join((cmd, args))
      p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE)
      stdout, stderr = p.communicate()
      return p.retcode, stdout, stderr
docs: Runs command on the system with given ``args``.