An <execNative> step can contain exactly one <exec> element. The <exec> element specifies the details of the native command to be executed.
The <exec> element contains:
an attribute, cmd, that specifies the name of the command to execute
a set of nested arg elements that specify each of the arguments for the command specified with cmd.
<execNative> executes the command specified in cmd directly with the arguments in the order they are specified.
For example, the <execNative> step below:
<execNative> <exec cmd=”ps”> <arg value=”-fu”/> <arg value=”sps”/> </exec> </execNative> |
will execute the command: ps –fu sps.
Name |
Type |
Required |
Configurable |
Description |
cmd |
String |
Yes |
Yes |
The path of the command to execute. If the specified path is not absolute the command is looked up using the platform specified PATH environment variable setting for the RA. Should be a non-empty string |
Name |
How Many? |
Description |
arg |
0 or more |
The arguments to the command being executed. Each arg element defines one positional parameter to the command. |
Name |
Type |
Required |
Configurable |
Description |
value |
String |
Yes |
Yes |
The argument value. This argument will be supplied as the nth argument to the command where arg is the nth child of the command element. |