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 "Isn\'t this grand?" --stderr nothing')" />
Last modified date: 10/14/2020