chrome/test/mini_installer/quit_chrome.py
def KillNamedProcess(process_path):
    """ Kills all running exes with the same name as the exe at |process_path|.

    Args:
        process_path: The path to an executable.

    Returns:
        True if running executables were successfully killed. False otherwise.
    """
    return os.system('taskkill /f /im %s' %
                     os.path.basename(process_path)) == 0
 Kills all running exes with the same name as the exe at |process_path|.

    Args:
        process_path: The path to an executable.

    Returns:
        True if running executables were successfully killed. False otherwise.
    
Kills all running exes with the same name as the exe at |process_path|.
Kills all running exes with the same name as the exe at |process_path| .
def KillNamedProcess(process_path):
    return os.system('taskkill /f /im %s' %
                     os.path.basename(process_path)) == 0
def KillNamedProcess ( process_path ) : return os . system ( 'taskkill /f /im %s' % os . path . basename ( process_path ) ) == 0
Kills all running exes with the same name as the exe at |process_path|.
Kills all running exes with the same name as the exe at |process_path| .
""" Kills all running exes with the same name as the exe at |process_path|.

    Args:
        process_path: The path to an executable.

    Returns:
        True if running executables were successfully killed. False otherwise.
    """
True if running executables were successfully killed. False otherwise.
True if running executables were successfully killed . False otherwise .
process_path
The path to an executable.
The path to an executable .