This commit is contained in:
crschnick
2024-10-13 08:35:13 +00:00
parent d4ad1d2e82
commit e894390124
35 changed files with 286 additions and 174 deletions

View File

@@ -148,7 +148,8 @@ public class ConnectionFileSystem implements FileSystem {
@Override
public void directoryAccessible(String file) throws Exception {
var current = shellControl.executeSimpleStringCommand(shellControl.getShellDialect().getPrintWorkingDirectoryCommand());
var current = shellControl.executeSimpleStringCommand(
shellControl.getShellDialect().getPrintWorkingDirectoryCommand());
shellControl.command(shellControl.getShellDialect().getCdCommand(file));
shellControl.command(shellControl.getShellDialect().getCdCommand(current));
}