Эх сурвалжийг харах

修复一个netcore2.1 linux或者mac上Manager进程无法启动子进程的bug

tanghai 7 жил өмнө
parent
commit
c90d535d06

+ 1 - 1
Server/Model/Component/AppManagerComponent.cs

@@ -60,7 +60,7 @@ namespace ETModel
 			Log.Info($"{exe} {arguments}");
 			try
 			{
-				ProcessStartInfo info = new ProcessStartInfo { FileName = exe, Arguments = arguments, CreateNoWindow = true, UseShellExecute = true };
+				ProcessStartInfo info = new ProcessStartInfo { FileName = exe, Arguments = arguments, CreateNoWindow = true, UseShellExecute = false };
 
 				Process process = Process.Start(info);
 				this.processes.Add(startConfig.AppId, process);