Exception:进程已退出,因此无法获得所请求的信息。

报错信息 1
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()

版本:1.45.0 2026-03-09 13:32 Microsoft Windows NT 10.0.26200.0