From 82f57942b5afc21004f377750076051351e375b1 Mon Sep 17 00:00:00 2001 From: libaoshan Date: Wed, 2 Jul 2025 21:48:01 +0800 Subject: [PATCH] test demo for disable remote file command Signed-off-by: libaoshan --- src/host/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/host/main.cpp b/src/host/main.cpp index 817e2b40..0be56e82 100644 --- a/src/host/main.cpp +++ b/src/host/main.cpp @@ -121,9 +121,9 @@ void AppendCwdWhenTransfer(string &outCommand) path[strlen(path)] = Base::GetPathSep(); } outCommand += outCommand.size() ? " " : ""; - outCommand += CMDSTR_REMOTE_PARAMETER; - outCommand += outCommand.size() ? " -cwd " : "-cwd "; - outCommand += Base::StringFormat("\"%s\"", path); + // outCommand += CMDSTR_REMOTE_PARAMETER; + // outCommand += outCommand.size() ? " -cwd " : "-cwd "; + // outCommand += Base::StringFormat("\"%s\"", path); } int SplitOptionAndCommand(int argc, const char **argv, string &outOption, string &outCommand) -- Gitee