ePublisher Platform XSLT Extensions
 
XPathNodeIterator ExecuteCommandInDirectory (string directoryPath, string command, string argument1, string argument2, string argument3, string argument4)
 
Runs the specified command formatted as a string with argument(s) using the specified directory as the working directory.
Parameters:
directoryPath
Full pathname of the directory file.
command
The command.
argument1
The first argument.
argument2
The second argument.
argument3
The third argument.
argument4
The fourth argument.
Returns:
A node set.
Runs the specified program with zero or more arguments in the specified working directory.
<xsl:variable name="VarExecResult" select="wwexec:ExecuteCommandInDirectory('C:\\workingdir', 'prettycool.exe', '--stdout', 'Isn\'t this grand?', '--stderr', 'nothing')" />