|
@@ -143,6 +143,23 @@ namespace MOKA_Factory_Tools
|
|
|
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ ///
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="runFilePath"></param>
|
|
|
+ /// <param name="args"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ public static bool StartProcess(string runFilePath, string args)
|
|
|
+ {
|
|
|
+ Process process = new Process();//创建进程对象
|
|
|
+ ProcessStartInfo startInfo = new ProcessStartInfo(runFilePath, args);
|
|
|
+ startInfo.UseShellExecute = false;
|
|
|
+ startInfo.CreateNoWindow = true;
|
|
|
+ process.StartInfo = startInfo;
|
|
|
+ return process.Start();
|
|
|
+ //process.WaitForExit();
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 获取订单信息
|
|
|
/// </summary>
|
|
@@ -2615,6 +2632,8 @@ namespace MOKA_Factory_Tools
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ StartProcess(AppDomain.CurrentDomain.SetupInformation.ApplicationBase + "tcp_send.exe", sn);
|
|
|
+
|
|
|
return true;
|
|
|
}
|
|
|
|