third_party/webxr_test_pages/update_bucket.py
def binary_name(cmd):
  """Finds the platform-appropriate name for an executable command."""

  # On Windows, the "subprocess" execution requires a name with extension.
  # Since we just need a couple of commands, use a simple replacement that
  # work for Chromium build environments. This isn't a general solution.
  if sys.platform != 'win32':
    return cmd
  if cmd in WINDOWS_EXES:
    return WINDOWS_EXES[cmd]
  raise Exeption('No known Windows executable for command "%s"' % cmd)
Finds the platform-appropriate name for an executable command.
Finds the platform-appropriate name for an executable command.
Finds the platform - appropriate name for an executable command .
def binary_name(cmd):
  if sys.platform != 'win32':
    return cmd
  if cmd in WINDOWS_EXES:
    return WINDOWS_EXES[cmd]
  raise Exeption('No known Windows executable for command "%s"' % cmd)
def binary_name ( cmd ) : if sys . platform != 'win32' : return cmd if cmd in WINDOWS_EXES : return WINDOWS_EXES [ cmd ] raise Exeption ( 'No known Windows executable for command "%s"' % cmd )
Finds the platform-appropriate name for an executable command.
Finds the platform - appropriate name for an executable command .
"""Finds the platform-appropriate name for an executable command.""" # On Windows, the "subprocess" execution requires a name with extension. # Since we just need a couple of commands, use a simple replacement that # work for Chromium build environments. This isn't a general solution.
cmd