InvalidOperationException: 进程已退出,因此无法获得所请求的信息。 StackTrace: 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.get_MainWindowHandle() 在 __ScriptExecution.__g2o2t8e5.ActionClass.<>c__DisplayClass3_0.<Exec>b__0(Object _) 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() 在 System.Threading.ThreadPoolWorkQueue.Dispatch()