Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » Exec » XPathNodeIterator ExecuteInDirectory (string directoryPath, string commandLine)
XPathNodeIterator ExecuteInDirectory (string directoryPath, string commandLine)
 
Runs the command line in the specified working directory.
Parameters:
directoryPath
Full pathname of the directory.
commandLine
The command line to be executed.
Returns:
A node set.
Execute prettycool.exe –stdout "Isn't this grand?" –stderr nothing in the directory C:\ workingdir.
<xsl:variable name="VarExecResult" select="wwexec:ExecuteInDirectory('C:\\workingdir', 'prettycool.exe --stdout &quot;Isn\'t this grand?&quot; --stderr nothing')" />
Was this helpful?
Last modified date: 10/14/2020