c#调用可执行程序导致窗口无法切换回原窗口

c#在窗体1中有一个按钮,通过process类调用一个可执行程序界面2,但在界面2中无法切换回窗体1

并没有出现你说的问题,试试我的代码

 private void button1_Click(object sender, EventArgs e)
        {
            var basedir = System.AppDomain.CurrentDomain.BaseDirectory;
            var logCfg = System.IO.Path.Combine(basedir, "XXX.exe");
            System.Diagnostics.Process ps = new System.Diagnostics.Process();
            ps.StartInfo.FileName = logCfg;
            ps.Start(); 
        }