Stderr Event

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

Syntax

ANSI (Cross Platform)
virtual int FireStderr(RexecStderrEventParams *e);
typedef struct {
const char *Text; int lenText;
int EOL; int reserved; } RexecStderrEventParams; Unicode (Windows) virtual INT FireStderr(RexecStderrEventParams *e);
typedef struct {
LPCSTR Text; INT lenText;
BOOL EOL; INT reserved; } RexecStderrEventParams;
- (void)onStderr:(NSData*)text :(BOOL)EOL;
#define EID_REXEC_STDERR 5

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

Remarks

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

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

When the error stream is closed by the server, a string containing only one NULL character is delivered through this event.

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