Navigation:  Object Model Reference > Options Object >

AlwaysCaptureConsoleOutput Property

Previous pageReturn to chapter overviewNext page

This option has two effects on the Run Program or derived action or RunProgramEx call:

 

1) Determines whether console output will always be captured.  Normally, output is not captured by Visual Build when specifying None for Read Output From or when specifying vbldOutputNone.  This allows output written to console windows spawned by Visual Build to be displayed in that window, but it prevents Visual Build from being able to suppress such output from its logs.  This option is disabled by default.  Set this option to True to if you want to be able to suppress all program output within Visual Build.

 

2) Whether standard input is written to when Provide Standard Input is set to None or when specifying vbldInputNone.  This option is disabled by default.  Enabling this option causes standard input to be written to in this case, which prevents Visual Build from waiting at a pause command in a batch file.  Another option to achieve this is to set Provide Standard Input to A string or vbldInputString.

 

Syntax

 

Options.AlwaysCaptureConsoleOutput As Boolean

 

See Also

 

Applies to Options object