ePublisher Platform XSLT Extensions
 
XPathNodeIterator ExecuteCommand (string command, string argument1, string argument2, string argument3, string argument4)
 
Runs the specified command formatted as a string with argument(s) using the current target's output directory as the working directory.
Parameters:
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 using the current target's output directory as the working directory.
<xsl:variable name="VarExecResult" select="wwexec:ExecuteCommand('prettycool.exe', '--stdout', 'Isn\'t this grand?', '--stderr', 'nothing')" />