tools/bisect_repackage/bisect_repackage.py
def verify_chrome_run(zip_dir):
  """This function executes chrome executable in zip_dir.

  Currently, it is only supported for Linux Chrome builds.
  Raises error if the execution fails for any reason.
  """
  try:
    command = [os.path.join(zip_dir, 'chrome')]
    code = bisect_repackage_utils.RunCommand(command)
    if code != 0:
      raise ChromeExecutionError('An error occurred when executing Chrome')
  except ChromeExecutionError,e:
    print(str(e))
This function executes chrome executable in zip_dir.

  Currently, it is only supported for Linux Chrome builds.
  Raises error if the execution fails for any reason.
  
This function executes chrome executable in zip_dir.
Currently, it is only supported for Linux Chrome builds.
Raises error if the execution fails for any reason.
This function executes chrome executable in zip_dir . Currently it is only supported for Linux Chrome builds . Raises error if the execution fails for any reason .
def verify_chrome_run(zip_dir):
  try:
    command = [os.path.join(zip_dir, 'chrome')]
    code = bisect_repackage_utils.RunCommand(command)
    if code != 0:
      raise ChromeExecutionError('An error occurred when executing Chrome')
  except ChromeExecutionError,e:
    print(str(e))
def verify_chrome_run ( zip_dir ) : try : command = [ os . path . join ( zip_dir , 'chrome' ) ] code = bisect_repackage_utils . RunCommand ( command ) if code != 0 : raise ChromeExecutionError ( 'An error occurred when executing Chrome' ) except ChromeExecutionError , e : print ( str ( e ) )
This function executes chrome executable in zip_dir.
This function executes chrome executable in zip_dir .
"""This function executes chrome executable in zip_dir.

  Currently, it is only supported for Linux Chrome builds.
  Raises error if the execution fails for any reason.
  """
zip_dir