SSH.Channel.Execute - charonn0/RB-libssh2 GitHub Wiki
SSH.Channel.Execute
Method Signatures
Function Execute(Command As String) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
Command |
String | A command line (without line endings). |
Return value
Returns True if the command was executed. Check Channel.LastError if this method returns False.
Remarks
Execute a program on the server and attach its stdin, stdout, and stderr streams to this channel. This is equivalent to calling ProcessStart("exec", Command).