Stdout Event

Fired when data (complete lines) come in through stdout.

Syntax

ANSI (Cross Platform)
virtual int FireStdout(SExecStdoutEventParams *e);
typedef struct {
const char *Text; int lenText; int reserved; } SExecStdoutEventParams; Unicode (Windows) virtual INT FireStdout(SExecStdoutEventParams *e);
typedef struct {
LPCSTR Text; INT lenText; INT reserved; } SExecStdoutEventParams;
- (void)onStdout:(NSData*)text;
#define EID_SEXEC_STDOUT 11

virtual INT IPWORKSSSH_CALL FireStdout(LPSTR &lpText, INT &lenText);

Remarks

The Stdout event is fired every time the process on the remote host outputs a line in its standard output. The incoming data is provided through the Text parameter.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 C++ Edition - Version 20.0 [Build 8501]