(proc)
return True
Kill a process
Kill a process
Kill a process
def kill_app(proc):
    """Kill a process"""
    try:
        os.kill(proc.pid, SIGINT)
    except Exception, j:
        Error("Error killing app: %s" % (j))
        return False
    return True
def kill_app ( proc ) : try : os . kill ( proc . pid , SIGINT ) except Exception , j : Error ( "Error killing app: %s" % ( j ) ) return False return True