示例#1
0
文件: s60ctl.py 项目: mwicat/s60ctl
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)
示例#2
0
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)
示例#3
0
文件: s60ctl.py 项目: mwicat/s60ctl
def run(args):
    conn = init_conn(args.host)
    command = CMD_SEP.join(args.args)
    s60util.launch(conn, args.path, command)
示例#4
0
def run(args):
    conn = init_conn(args.host)
    command = CMD_SEP.join(args.args)
    s60util.launch(conn, args.path, command)