Skip to content

Commit

Permalink
修复路径空格可能出现的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhoucheng133 committed Dec 24, 2024
1 parent ec50eef commit 9f009a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/funcs/thread.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 9f009a7

Please sign in to comment.