Stdout Event

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

Syntax

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

virtual INT IPWORKS_CALL FireStdout(LPSTR &lpText, INT &lenText, BOOL &bEOL);

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.

EOL indicates whether the EOL string was found on the end of Text or not. If the EOL string was found then EOL is True, otherwise it is False.

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