def inner(srv, run_id, accum): root = getRoot(accum) path = rjoin(root, inject_folder_name) cmd = 'java -cp %s/.:%s/* %s %s' % (path, path, script, remote_results_dir_F(root)) logger.info('execute: ' + cmd) print_remote_out( srv.execute(cmd) )