XPathNodeIterator ExecuteProgramWithArgumentsInDirectory (string directoryPath, string program, string arguments)
Runs the specified program with arguments formatted as a string in the specified working directory.
Parameters:
directoryPath | Full pathname of the directory. |
program | The program. |
arguments | The arguments. |
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:ExecuteProgramWithArgumentsInDirectory('C:\\workingdir', 'prettycool.exe', '--stdout "Isn\'t this grand?" --stderr nothing')" />
Last modified date: 10/14/2020