projects cleanup

This commit is contained in:
zznty
2022-10-09 17:52:30 +07:00
parent 49f68a8fcc
commit c5c8e527da
22 changed files with 94 additions and 375 deletions

View File

@@ -210,10 +210,9 @@ namespace Torch.Server
string exe = Assembly.GetExecutingAssembly().Location.Replace("dll", "exe");
config.WaitForPID = Environment.ProcessId.ToString();
config.TempAutostart = true;
Process.Start(exe, config.ToString());
Process.Start(exe, $"-waitForPid {Environment.ProcessId} {config}");
Environment.Exit(0);
})