def run_script(host, path): conn = init_conn(host) f = conn.modules.__builtin__.open(PYRUN_RC, 'w') f.write(path) f.close() s60util.launch(conn, PYRUN)
def run(args): conn = init_conn(args.host) command = CMD_SEP.join(args.args) s60util.launch(conn, args.path, command)