From 9f009a7d6dee68880e181dc2e7f3a021b3b4d5bf Mon Sep 17 00:00:00 2001 From: zhoucheng Date: Tue, 24 Dec 2024 22:25:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=AF=E5=BE=84=E7=A9=BA?= =?UTF-8?q?=E6=A0=BC=E5=8F=AF=E8=83=BD=E5=87=BA=E7=8E=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/funcs/thread.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/funcs/thread.dart b/lib/funcs/thread.dart index 3ef7eca..09bde07 100644 --- a/lib/funcs/thread.dart +++ b/lib/funcs/thread.dart @@ -23,7 +23,7 @@ class MainServer { shell=Shell(); final sharePath=m.sharePath.value.replaceAll('\\', '/'); final pythonPath=m.python.value.replaceAll('\\', '/'); - var cmd = pythonPath; + var cmd = '"$pythonPath"'; cmd+=' -m pyftpdlib -p ${m.sharePort.value} -d "$sharePath"'; if(m.enableWrite.value){ cmd+=' -w';