Previous Topic: OSRedirect ClassNext Topic: OSRedirect.clear Method


OSRedirect.OSRedirect Constructor

The constructor called when creating an object.

The constructor has the following syntax:

OSRedirect()

A constructor does not return a value. If an error occurs, it raises an exception.

Example

Create an OSRedirect object and use it in an invocation.

out = new OSRedirect();
! ping ascli1 -output out
? out.output();

See also:

! Command--Invoke Command or Child Process (Cmdlet)