pass configs to file_tools for r+w over ssh.
pass TERM env. default to ~ to in local and ssh backends. ssh backend.
This commit is contained in:
parent
9001b34146
commit
7be314c456
4 changed files with 23 additions and 1 deletions
|
|
@ -471,6 +471,8 @@ def _get_env_config() -> Dict[str, Any]:
|
|||
# is running inside the container/remote).
|
||||
if env_type == "local":
|
||||
default_cwd = os.getcwd()
|
||||
elif env_type == "ssh":
|
||||
default_cwd = "~"
|
||||
else:
|
||||
default_cwd = "/root"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue