public string RunCmdAdb(string cmd) { var runcmd = new RunCmd(); return(runcmd.adb("adb " + cmd)); }
/// <summary> /// 运行python脚本 /// </summary> /// <param name="path">脚本绝对路径</param> /// <param name="parameter1">脚本启动参数1</param> /// <param name="parameter2">脚本启动参数2</param> public void RunCmdPython(string path, string parameter1 = "", string parameter2 = "") { var runcmd = new RunCmd(); runcmd.Exe($@"python {path} {parameter1} {parameter2}"); }