SSH: Standard channels (scp, exec, tunnel, shell) are all re-added. Minor bugfixes, cosmetics, cleanup. Docs updated.

git-svn-id: svn://ultimatepp.org/upp/trunk@12168 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
oblivion 2018-08-15 20:29:12 +00:00
commit 87ab99beb3
23 changed files with 837 additions and 736 deletions

View file

@ -8,7 +8,7 @@ int SshExec::Execute(const String& cmd, String& out, String& err)
int size = max(ssh->chunk_size, 1024);
out = Get(size);
err = GetStdErr(size);
if(!IsError() && PutGetEof() && Close() && WaitClose())
if(Shut(IsError() ? GetErrorDesc() : Null))
return GetExitCode();
}
return GetError();