def GetNiceArgs(level: int):
  """Returns the command/arguments to set the `nice` level of a new process.

  Args:
    level: The nice level to set (-20 <= `level` <= 19).
  """
  if level < -20 or level > 19:
    raise ValueError(
        f"The level must be >= -20 and <= 19. The level specified is {level}.")
  return ["nice", "-n", str(level)]