Overriding the Execute Timeout Period

Abstract

The following reference explains how to override the built-in timeout period when using the "wwexec:ExecuteCommand*()" extension object.

You only need to modify this call when encountering the following error:

[Error] Timed out executing command '<exe-path arguments>'

Example Modification

 <xsl:variable name="VarExecuteResult" select="wwexec:ExecuteCommandInDirectory($ParamPath, $VarWWHelp5Path, '-wwhelp', $VarWWHelpPath)" />

 <xsl:variable name="VarExecuteResult" select="wwexec:ExecuteCommandInDirectoryWithTimeout(3600, $ParamPath, $VarWWHelp5Path, '-wwhelp', $VarWWHelpPath)" />

Notice that the only change was adding this text after the "ExecuteCommandInDirectory" text:

WithTimeout(<number-of-seconds-before-timeout>,

This change specifies that a timeout will only occur after 1 hour.

Files to override by Format

/!\ Never modify the files in the "Program Files" installation area.

HelpCenter/Reference/OverridingExecuteTimeoutPeriod (last edited 2008-02-13 06:18:25 by localhost)