|
|
@ -77,7 +77,7 @@ namespace Txgy.RBS.Server.WebApi.Register
|
|
|
|
process.EnableRaisingEvents = true;
|
|
|
|
process.EnableRaisingEvents = true;
|
|
|
|
process.StartInfo.FileName = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath, "server.exe"));
|
|
|
|
process.StartInfo.FileName = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath, "server.exe"));
|
|
|
|
process.StartInfo.WorkingDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath);
|
|
|
|
process.StartInfo.WorkingDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath);
|
|
|
|
// process.StartInfo.Arguments = "service.conf";
|
|
|
|
process.StartInfo.Arguments = "service.conf";
|
|
|
|
Debug.WriteLine($"*******ProcessName:{process.StartInfo.FileName}, arguments:{process.StartInfo.Arguments}*********");
|
|
|
|
Debug.WriteLine($"*******ProcessName:{process.StartInfo.FileName}, arguments:{process.StartInfo.Arguments}*********");
|
|
|
|
process.StartInfo.UseShellExecute = true;
|
|
|
|
process.StartInfo.UseShellExecute = true;
|
|
|
|
process.StartInfo.CreateNoWindow = false;
|
|
|
|
process.StartInfo.CreateNoWindow = false;
|
|
|
|