Chapter 6 Wrapped Class Reference
Note that the class inheritance tree diagram for the External Commands (XT) wrapped classes is flat, meaning that that these classes do not have superclasses, thus no inheritance diagram is provided here.
Section 6.1.3, "Attribute Manager - Abstract" page 118
Executes the command specified in the argument cmd. This constructor blocks on the execution of the external command. The list cmd must be a list of strings with at least one element. The first string on the list represents the command name, and the following elements, if present, represent command line arguments. The interpretation of the command list is platform dependent and is normally left to the standard platform execution environment. Under UNIX, this would be the user's shell.upon CreateNoBlock: list cmd
Executes the command specified in the argument cmd asynchronously. Under UNIX, this corresponds to executing the command "in the background". This constructor does not block on the execution of the external command. The argument must be formatted as in the Create method.on Abort
Kills an external command initiated with the 'CreateNoBlock constructor. This method executes in a platform dependent manner, and it does not guarantee smooth termination or cleanup of the external command. The spawned external command should normally be terminated through their own interface.on Done: return boolean
Returns TRUE if the external command has terminated and FALSE otherwise.on GetStatus: return integer
The returned value is a status variable indicating the success or failure of the external command. The value 0 indicates successful execution on all platforms; non-zero values are platform dependent error codes. If an UNSET value is returned, then the external command has not terminated, i.e., in the cases in which the 'Done message would return FALSE.
Executes the command specified by cmd in such a way that the input to and output from the command is tied to a read-write IOpipe whose handle is stored in the member hPipe.on Abort
Kills the external command. This should not be the standard method of terminating the external process. Normal termination should be triggered by closing the IOpipe pointed to by hPipe.on GetStatus: return integer
The returned value is a status variable indicating the success or failure of the external command. The value 0 indicates successful execution on all platforms; positive non-zero values are platform dependent error codes. 'GetStatus returns UNSET if one of the IOpipes to or from the external process is still open. This return value except in the UNSET case is identical to the value returned by 'Close => hPipe once the pipe has closed.
None
Activity | Keys | Description |
---|---|---|
hPipe | handle | handle to the IOpipe object opened when the XTprocFilter was created |
Executes the command specified by cmd in such a way that the input to the command is tied to a writable IOpipe whose handle is stored in the member hTo.on Abort
Kills the external command. This should not be the standard method of terminating the external process. Normal termination should be triggered by closing the IOpipe pointed to by hTo.on GetStatus: return integer
The returned value is a status variable indicating the success or failure of the external command. The value 0 indicates successful execution on all platforms; non-zero values are platform dependent error codes. 'GetStatus returns UNSET if the IOpipe to the external process is still open. This return value except in the UNSET case is identical to that returned by 'Close => hTo if the pipe has already been closed.
Activity | Keys | Description |
---|---|---|
hTo | handle | handle to the IOpipe object opened when the XTprocSink was created |
Executes the command specified by cmd in such a way that the output from the command is tied to a readable IOpipe whose handle is stored in the member hFrom.on Abort
Kills the external command. This should not be the standard method of terminating the external process. Normal termination should be triggered by the external process itself and should be sensed by detecting an EOF on the pipe associated with hFrom.on GetStatus: return integer
The returned value is a status variable indicating the success or failure of the external command. The value 0 indicates successful execution on all platforms; non-zero values are platform dependent error codes. 'GetStatus returns UNSET if the IOpipe from the external process is still open. This return value except in the UNSET case is identical to the value returned by 'Close => hFrom once the pipe has closed.
Activity | Keys | Description |
---|---|---|
hFrom | handle | handle to the IOpipe object opened when the XTprocSource was created |
Generated with Harlequin WebMaker