viewer_args += " --url %s" % slurl # Figure out path stuff. # The client should run from indra/newview # but the exe is at indra/build-<xxx>/newview/<target> build_path = os.path.dirname(os.getcwd()) f = open("start-client.log", "w") print >> f, "Viewer startup arguments:" llstart.start( "viewer", "../../newview", "%s/newview/%s/secondlife-bin.exe" % (build_path, build_config), viewer_args, f ) f.close() if __name__ == "__main__": grid = llstart.get_config("grid") if grid == None: grid = "aditi" build_config = llstart.get_config("build_config") my_args = llstart.get_config("viewer_args", force_dict=True) opts, args = getopt.getopt(sys.argv[1:], "u:r:f:g:i:h", ["region=", "username="******"farm=", "grid=", "ip=", "help"]) region = None for o, a in opts: if o in ("-r", "--region", "-u", "--username"): region = a if o in ("-f", "--farm", "-g", "--grid"): grid = a if o in ("-h", "--help"): usage()
if slurl is not None: viewer_args += " --url %s" % slurl # Figure out path stuff. # The client should run from indra/newview # but the exe is at indra/build-<xxx>/newview/<target> build_path = os.path.dirname(os.getcwd()); f = open("start-client.log", "w") print >>f, "Viewer startup arguments:" llstart.start("viewer", "../../newview", "%s/newview/%s/imprudence-bin.exe" % (build_path, build_config), viewer_args, f) f.close() if __name__ == "__main__": grid = llstart.get_config("grid") if grid == None: grid = "aditi" build_config = llstart.get_config("build_config") my_args = llstart.get_config("viewer_args", force_dict = True) opts, args = getopt.getopt(sys.argv[1:], "u:r:f:g:i:h", ["region=", "username="******"farm=", "grid=", "ip=", "help"]) region = None for o, a in opts: if o in ("-r", "--region", "-u", "--username"): region = a if o in ("-f", "--farm", "-g", "--grid"): grid = a if o in ("-h", "--help"):