-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.Channel.ProcessStart
Andrew Lambert edited this page Nov 26, 2022
·
6 revisions
Function ProcessStart(Request As String, Message As String) As Boolean
Name | Type | Comment |
---|---|---|
Request |
String | The type of request. |
Message |
String | The request. |
Returns True
if the remote process was started.
Runs the command, executable, or subsystem indicated by the Request
parameter. Defined requests are "exec"
, "shell"
, or "subsystem"
. The Message
parameter contains request-specific data to pass to the process. Once the process is started you can read/write from its StdIn/Out/Err with the Read and Write methods.
If you need to wait for the process to exit so that you can read its exit code refer to the WaitClose method.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.