OpenStdOut ( me : out ) returns Integer from Standard is redefined static;
---Purpose: creates a pipe for reading a standard output of sub-process
-- and returns a pipe handle.
- ---Warning: returns INVALID_HANDLE_VALUE in case of failure
+ -- Warning: returns INVALID_HANDLE_VALUE in case of failure
CloseStdOut ( me : out ) is redefined static;
---Purpose: closes write end of the 'STDOUT' pipe
OpenStdErr ( me : out ) returns Integer from Standard is virtual;
---Purpose: creates a pipe for reading a standard error output of sub-process
-- and returns a pipe handle
- ---Warning: this method is simply calling 'OpenStdOut' method
+ -- Warning: this method is simply calling 'OpenStdOut' method
CloseStdErr ( me : out ) is redefined virtual;
---Purpose: closes write end of the 'STDERR' pipe
- ---Warning: this method is simply calling 'CloseStdOut' method
+ -- Warning: this method is simply calling 'CloseStdOut' method
Clear ( me : out ) is redefined virtual;
---Purpose: clears output buffer of sub-process
Echo ( me : out ) returns HSequenceOfHAsciiString from TColStd is redefined static;
---Purpose: returns standard output of sub-process
- ---Warning: returns NULL object if there is nothing to read
+ -- Warning: returns NULL object if there is nothing to read
Errors ( me : out ) returns HSequenceOfHAsciiString from TColStd is redefined virtual;
---Purpose: returns standard error output of sub-process
- ---Warning: this method is simply calling 'Echo' method
+ -- Warning: this method is simply calling 'Echo' method
SyncStdOut ( me : out ) returns HSequenceOfHAsciiString from TColStd is redefined static;
---Purpose: waits for sub-process termination ( until the write end of pipe
-- will be closed ).
- ---Warning: write end of pipe MUST BE CLOSED by parent process immediately
+ -- Warning: write end of pipe MUST BE CLOSED by parent process immediately
-- after creation of the child process else this method will
-- NEVER return. Use ONLY 'CloseStdOut' method for this purpose.
SyncStdErr ( me : out ) returns HSequenceOfHAsciiString from TColStd is redefined virtual;
---Purpose: same as 'SyncStdOut' method
- ---Warning: use 'CloseStdErr' method to close write end of pipe
+ -- Warning: use 'CloseStdErr' method to close write end of pipe
fields
OpenStdErr ( me : out ) returns Integer from Standard is redefined static;
---Purpose: creates a pipe for reading a standard error output of sub-process
-- and returns a pipe handle
- ---Warning: returns INVALID_HANDLE_VALUE in case of failure
+ -- Warning: returns INVALID_HANDLE_VALUE in case of failure
CloseStdErr ( me : out ) is redefined static;
---Purpose: closes write end of the 'STDERR' pipe
Errors ( me : out ) returns HSequenceOfHAsciiString from TColStd is redefined static;
---Purpose: returns standard error output of sub-process
- ---Warning: returns NULL object if there is nothing to read
+ -- Warning: returns NULL object if there is nothing to read
SyncStdErr ( me : out ) returns HSequenceOfHAsciiString from TColStd is redefined static;
---Purpose: waits for sub-process termination ( until the write end of pipe
-- will be closed ).
- ---Warning: write end of pipe MUST BE CLOSED by parent process immediately
+ -- Warning: write end of pipe MUST BE CLOSED by parent process immediately
-- after creation of the child process else this method will
-- NEVER return. Use ONLY 'CloseStdErr' method for this purpose.
-- if no translation necessary. It is possible to set
-- syntax of the regular expression by meaning <aSyntax>
-- parameter.
- ---Warning: raises if syntax of the regular expression given is incorrect
+ -- Warning: raises if syntax of the regular expression given is incorrect
Destroy ( me : mutable );
---Purpose: destroys all resources attached to the class instanse
aTblLen : Integer from Standard = 0
) raises ProgramError from Standard;
---Purpose: sets a new match pattern and possibly a new pattern syntax
- ---Warning: raises if the syntax given is incorrect
+ -- Warning: raises if the syntax given is incorrect
Search (
me;
-- Returns an index of the match position on success.
-- Returns -1 if no match was found.
-- Returns -2 if error was occur.
- ---Warning: raises if no search pattern was set
+ -- Warning: raises if no search pattern was set
Match (
me;
-- Returns the length of the string matched on success.
-- Returns -1 if no match was found.
-- Returns -2 if error was occur.
- ---Warning: raises if no search pattern was set
+ -- Warning: raises if no search pattern was set
fields
EnvironmentVariable ( me; aName : HAsciiString from TCollection )
returns HAsciiString from TCollection;
---Purpose: returns a value for a given environment variable
- ---Warning: returns a null string if specified variable does not exists
+ -- Warning: returns a null string if specified variable does not exists
Echo ( me; aStr : HAsciiString from TCollection );
---Purpose: echoes a string
OpenStdOut ( me : out ) returns Integer from Standard is deferred;
---Purpose: creates an I/O object for reading a standard output of sub-process
-- and returns this object handle.
- ---Warning: returns INVALID_HANDLE_VALUE in case of failure
+ -- Warning: returns INVALID_HANDLE_VALUE in case of failure
CloseStdOut ( me : out ) is deferred;
---Purpose: closes an I/O object's handle opened by 'OpenStdOut' method
OpenStdErr ( me : out ) returns Integer from Standard is deferred;
---Purpose: creates an I/O object for reading a standard error output of sub-process
-- and returns this object handle
- ---Warning: returns INVALID_HANDLE_VALUE in case of failure
+ -- Warning: returns INVALID_HANDLE_VALUE in case of failure
CloseStdErr ( me : out ) is deferred;
---Purpose: closes an I/O object's handle opened by 'OpenStdErr' method