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
- Change:
<xsl:variable name="VarExecuteResult" select="wwexec:ExecuteCommandInDirectory($ParamPath, $VarWWHelp5Path, '-wwhelp', $VarWWHelpPath)" />
- To something like:
<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.
WebWorks Help 5.0
- wwhelp_index.xsl
- Microsoft HTML Help 1.x
- htmlhelp_compile.xsl
- Microsoft Reader
- msreader_compile.xsl
- Oracle Help
- oraclehelp_index.xsl
- oraclehelp_jar.xsl
- Palm Reader
- palm_compile.xsl
- Sun Java Help 1.1.3
- javahelp_index.xsl
- javahelp_jar.xsl
WinHelp
- winhelp.xsl