From ced7c4ad08456544e9807907d21683f3ceeff0dc Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期四, 03 八月 2023 14:29:11 +0800
Subject: [PATCH] 1

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

diff --git a/ExportMap/cs/LasUtils.cs b/ExportMap/cs/LasUtils.cs
index d4e24cf..ca67a49 100644
--- a/ExportMap/cs/LasUtils.cs
+++ b/ExportMap/cs/LasUtils.cs
@@ -57,7 +57,7 @@
 
                     int idx = args.ids.IndexOf(meta.id);
                     string cmd = string.Format("{0}\\gocesiumtiler.exe -i \"{1}\" -o \"{2}\" -e {3} -z {4} -g -s", tilerPath, lasPath, outPath, args.srids[idx], args.zs[idx]);
-                    err = Tools.ExecCmd(cmd, false, false);
+                    err = Tools.ExecCmd(null, cmd, false, false);
 
                     string jsonFile = findTileset(meta, outPath);
                     if ("laz" == meta.type && File.Exists(lasPath)) File.Delete(lasPath);
@@ -88,7 +88,7 @@
             string tilerPath = Tools.GetSetting("tilerPath");
 
             string cmd = string.Format("{0}\\laszip64.exe -i \"{1}\" -o \"{2}\"", tilerPath, lazPath, lasPath);
-            Tools.ExecCmd(cmd, false, false);
+            Tools.ExecCmd(new List<string> { cmd });
 
             return lasPath;
         }

--
Gitblit v1.9.3