mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: SCP - Execute command from command line (execute in current directory)
This commit is contained in:
parent
ab35a2ada1
commit
8b4743fb3b
1 changed files with 2 additions and 1 deletions
|
|
@ -437,7 +437,8 @@ begin
|
|||
Result:= OpenChannel;
|
||||
if Result then
|
||||
begin
|
||||
Result:= SendCommand(Command);
|
||||
DoStatus(False, Command);
|
||||
Result:= SendCommand('cd ' + EscapeNoQuotes(FCurrentDir) + ' && ' + Command);
|
||||
if Result then
|
||||
begin
|
||||
Result:= DataRead(FDataStream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue