IClearTool interface

Description

The IClearTool interface is a facility for submitting arbitrary cleartool subcommands.

Inheritance

IClearTool inherits from IDispatch.

Methods

CmdExec (default method)
Executes a cleartool subcommand

Examples

Creation

Use ClearCase.ClearTool

CmdExec

Executes a cleartool subcommand

Category

Method

VB syntax

Function CmdExec(CommandString As String) As String

Visual C++ syntax

_bstr_t CmdExec(_bstr_t CommandString);
Parameter
Description
CommandString
A cleartool subcommand to execute.

Return Value

The output of the cleartool subcommand (not including error messages).

Remarks

Note that the CAL command string is interpreted as if entered directly in Interactive Mode. For more information on Windows command line processing and the differences between Single-Command Mode and Interactive Mode, see the cleartool reference page.

Member of: IClearTool Interface


Feedback