Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Why SshExec close the connexion ?
Re: Why SshExec close the connexion ? [message #53084 is a reply to message #53082] Mon, 24 February 2020 13:41 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
Hello Omari,


I made your suggestion into three helper functions, instead of a structure, similar to Upp::sys:

int     SshExecute(SshSession& session, const String& cmd, String& out, String& err);
int     SshExecute(SshSession& session, const String& cmd, String& out);
String  SshExecute(SshSession& session, const String& cmd);


I've committed the changes to Upp-Svn. So they'll be available in Upp nightly builds.

Best regards,

Oblivion.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HttpRequest cannot get the server [SOLVED]
Next Topic: [NOT REPRODUCIBLE] HttpRequest gzip format error
Goto Forum:
  


Current Time: Sun May 26 13:45:13 CEST 2024

Total time taken to generate the page: 0.00376 seconds