code: def run(cmds, **kwargs):
      
      proc = sp.Popen(cmds, bufsize=-1, stdout=sp.PIPE, stderr=sp.STDOUT,
                      close_fds=sys.platform != 'win32')
      for line in proc.stdout:
          print(line[:-1].decode())
      retcode = proc.wait()
      if retcode:
          raise sp.CalledProcessError(retcode, cmds)
docs: Wrapper around subprocess.run, with unicode decoding of output.
  
      Additional kwargs are passed to subprocess.run.