尝试解决CMD可能不关闭的问题

This commit is contained in:
cgl
2022-06-11 10:05:40 +08:00
parent 5aa1a897c8
commit 5a42ee73f2

View File

@@ -228,6 +228,7 @@ namespace MeoAsstGui
emuProcess.StartInfo.UseShellExecute = false;
emuProcess.Start();
emuProcess.StandardInput.WriteLine(EmulatorPath);
emuProcess.Close();
int delay = 0;
if (!int.TryParse(EmulatorWaitSeconds, out delay))
{