Function Reference
Execute
Runs the command line.
Syntax:
wwexec:Execute($commandLine)Parameters:
Name | Type | Description |
|---|---|---|
|
| The command line to be executed. |
Returns:
XPathNodeIterator: A node set.
Example:
<xsl:variable name="VarExecResult" select="wwexec:Execute('prettycool.exe --stdout "Isn\'t this grand?" --stderr nothing')" />ExecuteCommand
Runs the specified command formatted as a string using the current target's output directory as the working directory.
Syntax:
wwexec:ExecuteCommand($command)
wwexec:ExecuteCommand($command, $argument1)
wwexec:ExecuteCommand($command, $argument1, $argument2)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19)
wwexec:ExecuteCommand($command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19, $argument20)Overloads:
# | Parameters |
|---|---|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
Parameters:
Name | Type | Description |
|---|---|---|
|
| The command. |
|
| The first argument. |
|
| The second argument. |
|
| The third argument. |
|
| The fourth argument. |
|
| The fifth argument. |
|
| The argument 6. |
|
| The argument 7. |
|
| The argument 8. |
|
| The argument 9. |
|
| The argument 10. |
|
| The argument 11. |
|
| The argument 12. |
|
| The argument 13. |
|
| The argument 14. |
|
| The argument 15. |
|
| The argument 16. |
|
| The argument 17. |
|
| The argument 18. |
|
| The argument 19. |
|
| The argument 20. |
Returns:
XPathNodeIterator: A node set.
Example:
<xsl:variable name="VarExecResult" select="wwexec:ExecuteCommand('prettycool.exe', 'nothing')" />ExecuteCommandInDirectory
Runs the specified command formatted as a string using the specified directory as the working directory.
Syntax:
wwexec:ExecuteCommandInDirectory($directoryPath, $command)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19)
wwexec:ExecuteCommandInDirectory($directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19, $argument20)Overloads:
# | Parameters |
|---|---|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
Parameters:
Name | Type | Description |
|---|---|---|
|
| Full pathname of the directory file. |
|
| The command. |
|
| The first argument. |
|
| The second argument. |
|
| The third argument. |
|
| The fourth argument. |
|
| The fifth argument. |
|
| The argument 6. |
|
| The argument 7. |
|
| The argument 8. |
|
| The argument 9. |
|
| The argument 10. |
|
| The argument 11. |
|
| The argument 12. |
|
| The argument 13. |
|
| The argument 14. |
|
| The argument 15. |
|
| The argument 16. |
|
| The argument 17. |
|
| The argument 18. |
|
| The argument 19. |
|
| The argument 20. |
Returns:
XPathNodeIterator: A node set.
Example:
<xsl:variable name="VarExecResult" select="wwexec:ExecuteCommandInDirectory('C:\\workingdir', 'prettycool.exe', '--stdout', 'Isn\'t this grand?', '--stderr', 'nothing')" />ExecuteCommandInDirectoryWithTimeout
Runs the specified command formatted as a string using the specified directory as the working directory.
Will stop operation if timeout in seconds elapses.
Syntax:
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19)
wwexec:ExecuteCommandInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19, $argument20)Overloads:
# | Parameters |
|---|---|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
Parameters:
Name | Type | Description |
|---|---|---|
|
| The timeout in seconds. |
|
| Full pathname of the directory file. |
|
| The command. |
|
| The first argument. |
|
| The second argument. |
|
| The third argument. |
|
| The fourth argument. |
|
| The fifth argument. |
|
| The argument 6. |
|
| The argument 7. |
|
| The argument 8. |
|
| The argument 9. |
|
| The argument 10. |
|
| The argument 11. |
|
| The argument 12. |
|
| The argument 13. |
|
| The argument 14. |
|
| The argument 15. |
|
| The argument 16. |
|
| The argument 17. |
|
| The argument 18. |
|
| The argument 19. |
|
| The argument 20. |
Returns:
XPathNodeIterator: A node set.
ExecuteCommandNoReturn
Runs the specified command formatted as a string using the current target's output directory as the working directory.
Syntax:
wwexec:ExecuteCommandNoReturn($command)Parameters:
Name | Type | Description |
|---|---|---|
|
| The command. |
Returns:
XPathNodeIterator: A node set.
ExecuteCommandWithTimeout
Runs the specified command formatted as a string using the current target's output directory as the working directory.
Will stop operation if timeout in seconds elapses.
Syntax:
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19)
wwexec:ExecuteCommandWithTimeout($timeoutInSeconds, $command, $argument1, $argument2, $argument3, $argument4, $argument5, $argument6, $argument7, $argument8, $argument9, $argument10, $argument11, $argument12, $argument13, $argument14, $argument15, $argument16, $argument17, $argument18, $argument19, $argument20)Overloads:
# | Parameters |
|---|---|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
Parameters:
Name | Type | Description |
|---|---|---|
|
| The timeout in seconds. |
|
| The command. |
|
| The first argument. |
|
| The second argument. |
|
| The third argument. |
|
| The fourth argument. |
|
| The fifth argument. |
|
| The argument 6. |
|
| The argument 7. |
|
| The argument 8. |
|
| The argument 9. |
|
| The argument 10. |
|
| The argument 11. |
|
| The argument 12. |
|
| The argument 13. |
|
| The argument 14. |
|
| The argument 15. |
|
| The argument 16. |
|
| The argument 17. |
|
| The argument 18. |
|
| The argument 19. |
|
| The argument 20. |
Returns:
XPathNodeIterator: A node set.
ExecuteInDirectory
Runs the command line in the specified working directory.
Syntax:
wwexec:ExecuteInDirectory($directoryPath, $commandLine)Parameters:
Name | Type | Description |
|---|---|---|
|
| Full pathname of the directory. |
|
| The command line to be executed. |
Returns:
XPathNodeIterator: A node set.
Example:
<xsl:variable name="VarExecResult" select="wwexec:ExecuteInDirectory('C:\\workingdir', 'prettycool.exe --stdout "Isn\'t this grand?" --stderr nothing')" />ExecuteInDirectoryWithTimeout
Runs the command line in the specified working directory.
Will stop operation after specified elapsed time is exceeded.
Syntax:
wwexec:ExecuteInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $commandLine)Parameters:
Name | Type | Description |
|---|---|---|
|
| The timeout in seconds. |
|
| Full pathname of the directory. |
|
| The command line to be executed. |
Returns:
XPathNodeIterator: A node set.
ExecuteProgramWithArguments
Runs the specified program with arguments formatted as a string using the current target's output directory as the working directory.
Syntax:
wwexec:ExecuteProgramWithArguments($program, $arguments)Parameters:
Name | Type | Description |
|---|---|---|
|
| The program. |
|
| The arguments. |
Returns:
XPathNodeIterator: A node set.
Example:
<xsl:variable name="VarExecResult" select="wwexec:ExecuteProgramWithArguments('prettycool.exe', '--stdout "Isn\'t this grand?" --stderr nothing')" />ExecuteProgramWithArgumentsInDirectory
Runs the specified program with arguments formatted as a string in the specified working directory.
Syntax:
wwexec:ExecuteProgramWithArgumentsInDirectory($directoryPath, $program, $arguments)Parameters:
Name | Type | Description |
|---|---|---|
|
| Full pathname of the directory. |
|
| The program. |
|
| The arguments. |
Returns:
XPathNodeIterator: A node set.
Example:
<xsl:variable name="VarExecResult" select="wwexec:ExecuteProgramWithArgumentsInDirectory('C:\\workingdir', 'prettycool.exe', '--stdout "Isn\'t this grand?" --stderr nothing')" />ExecuteProgramWithArgumentsInDirectoryWithTimeout
Runs the specified program with arguments formatted as a string in the specified working directory.
Will stop operation after specified elapsed time is exceeded.
Syntax:
wwexec:ExecuteProgramWithArgumentsInDirectoryWithTimeout($timeoutInSeconds, $directoryPath, $program, $arguments)Parameters:
Name | Type | Description |
|---|---|---|
|
| The timeout in seconds. |
|
| Full pathname of the directory. |
|
| The program. |
|
| The arguments. |
Returns:
XPathNodeIterator: A node set.
ExecuteProgramWithArgumentsWithTimeout
Runs the specified program with arguments formatted as a string using the current target's output directory as the working directory.
Will stop operation after specified elapsed time is exceeded.
Syntax:
wwexec:ExecuteProgramWithArgumentsWithTimeout($timeoutInSeconds, $program, $arguments)Parameters:
Name | Type | Description |
|---|---|---|
|
| The timeout in seconds. |
|
| The program. |
|
| The arguments. |
Returns:
XPathNodeIterator: A node set.
ExecuteWithTimeout
Runs the command line.
Will stop operation after specified elapsed time is exceeded.
Syntax:
wwexec:ExecuteWithTimeout($timeoutInSeconds, $commandLine)Parameters:
Name | Type | Description |
|---|---|---|
|
| The timeout in seconds. |
|
| The command line to be executed. |
Returns:
XPathNodeIterator: A node set.