Share via


Task.Stdout Property

Redirects standard output to the specified file.

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

Usage

Syntax

'Declaration
<DefaultValueAttribute("")> _
<XmlAttributeAttribute> _
Public Property Stdout As String
[DefaultValueAttribute("")] 
[XmlAttributeAttribute] 
public string Stdout { get; set; }
[DefaultValueAttribute(L"")] 
[XmlAttributeAttribute] 
public:
virtual property String^ Stdout {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_Stdout ()

/** @property */
public final void set_Stdout (String value)
public final function get Stdout () : String

public final function set Stdout (value : String)

Property Value

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

Remarks

You must specify a file to capture output to stdout; 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 output file is ignored for tasks run as commands (see Cluster.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

Task Class
Task Members
Microsoft.ComputeCluster Namespace
Task.Stderr Property
Task.Stdin Property