cros_build_lib: rename RunCommand to run

This aligns with the new subprocess.run API.

RunCommand -> run.
SudoRunCommand -> sudo_run.
DebugRunCommand -> dbg_run.

BUG=chromium:1006587
TEST=`./run_tests` passes

Change-Id: I78ebd4e08176d7874b3d3fe537b6ceb292b0241b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1818782
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
diff --git a/scripts/autotest_quickmerge.py b/scripts/autotest_quickmerge.py
index caf8467..ad46fa1 100644
--- a/scripts/autotest_quickmerge.py
+++ b/scripts/autotest_quickmerge.py
@@ -191,7 +191,7 @@
   if os.path.abspath(source_directory) == os.path.abspath(destination_path):
     return True
   command = ['mv', source_directory, destination_path]
-  code = cros_build_lib.SudoRunCommand(command, error_code_ok=True).returncode
+  code = cros_build_lib.sudo_run(command, error_code_ok=True).returncode
   return code == 0
 
 
@@ -292,7 +292,7 @@
 
   command += [source_path, sysroot_autotest_path]
 
-  return cros_build_lib.SudoRunCommand(command, redirect_stdout=True)
+  return cros_build_lib.sudo_run(command, redirect_stdout=True)
 
 
 def ParseArguments(argv):
@@ -334,7 +334,7 @@
 
   if os.geteuid() != 0:
     try:
-      cros_build_lib.SudoRunCommand([sys.executable] + sys.argv)
+      cros_build_lib.sudo_run([sys.executable] + sys.argv)
     except cros_build_lib.RunCommandError:
       return 1
     return 0
@@ -407,7 +407,7 @@
 
     sentinel_filename = os.path.join(sysroot_autotest_path,
                                      '.quickmerge_sentinel')
-    cros_build_lib.RunCommand(['touch', sentinel_filename])
+    cros_build_lib.run(['touch', sentinel_filename])
 
   if args.pretend:
     logging.info('The following message is pretend only. No filesystem '