From 676892f591be011d2e41f309d7e3ee809f412f0d Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 07 八月 2023 17:26:55 +0800
Subject: [PATCH] 1

---
 ExportMap/cs/Tools.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ExportMap/cs/Tools.cs b/ExportMap/cs/Tools.cs
index 42effbc..e7257b0 100644
--- a/ExportMap/cs/Tools.cs
+++ b/ExportMap/cs/Tools.cs
@@ -206,7 +206,7 @@
                 p.StartInfo.CreateNoWindow = true;
                 //p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
                 p.StartInfo.RedirectStandardInput = true;
-                p.StartInfo.RedirectStandardOutput = true;
+                p.StartInfo.RedirectStandardOutput = isOut;
                 p.StartInfo.RedirectStandardError = true;
                 p.Start();
 
@@ -239,8 +239,8 @@
                     TaskDBHelper.Update(task);
                 }
 
+                if (null != so) so.Close();
                 se.Close();
-                //so.Close();
                 si.Close();
                 p.Close();
             }

--
Gitblit v1.9.3