def test_run_app(): app_name = get_app_name() app_path = get_app_path() exit_code = executor.start(app_name, app_path) eq_(exit_code, 0)
def main(): os.chdir(os.path.dirname(os.path.abspath(__file__))) executor.start(args.app_name, args.main_class, java_cmd=args.java_cmd, app_args=args.app_args, classpath=args.classpath, jvm_args=args.jvm_args, locking_disabled=args.locking_disabled)