ITask.Stderr Property

Redirects standard error to the specified file.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Property Stderr As String
string Stderr { get; set; }
property String^ Stderr {
    String^ get ();
    void set (String^ value);
}
/** @property */
String get_Stderr ()

/** @property */
void set_Stderr (String value)
function get Stderr () : String

function set Stderr (value : String)

Property Value

The path to the file to which standard error is redirected.

Remarks

You must specify a file to capture output to stderr; otherwise, the output is lost. If the file exists, it is overwritten. Specify a separate file for each task. If you use the same file, the task could fail if the file is currently locked by another task. The path must exist on each node on which the task runs.

The error file is ignored for tasks run as commands (see ICluster.ExecuteCommand).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

ITask Interface
ITask Members
Microsoft.ComputeCluster Namespace
Stdin
Stdout