mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
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:
parent
795c24ad70
commit
87ab99beb3
23 changed files with 837 additions and 736 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue