Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name to show on the script canvas. |
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Launch command | Required | Available | Enter the command (program) to launch.
You can click [Browse] button to launch file chooser and find the file. Example: To launch Internet Explorer C:\Program Files\Internet Explorer\iexplore.exe |
|
Launch parameters | Optional | - | Specify parameters to pass to the command.
Operate with the following buttons.
|
|
Launch parameters/Parameter | Optional | Available | Specify a parameter to pass to the command.
In command description, specify file paths in “absolute path ("C:\Progra~1\Data~") ” or “relative path ("..\home\root\~")” from DataSpiderServer /bin. Example: To delete C:\test.csv [Launch command]: cmd.exe [Parameter]: /C [Parameter]: del [Parameter]: C:\test.csv |
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Working directory | Optional | Available | Enter the command working directory.
You can click [Browse] button to launch the directory chooser and find the directory. Relative paths in command will be the relative paths from the working directory. |
|
Wait until external application ends | Optional | Not available | Select whether or not to wait until the specified command ends.
|
|
Error when return value is not 0 | Optional | Not available | Select whether or not to make it error when the return value of the specified command is not 0.
|
|
Get standard output / standard error output | Optional | Not available | Select whether or not to store standard output / standard error output which are output by the specified command in component variables so that you can get them.
|
|
Timeout | Optional | Available | Enter the time to wait until the specified command is completed, in millisecond. |
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
Component variable name | Description | Remarks |
---|---|---|
exitValue | The return value of command is stored. |
|
stdout | The standard output value of command is stored. |
|
stderr | The standard error output of command is stored. |
|
message_category | When an error occurs, the corresponding message code's category is stored. |
|
message_code | When an error occurs, the corresponding message code is stored. |
|
message_level | When an error occurs, the corresponding message code's severity is stored. |
|
error_type | When an error occurs, the error type is stored. |
|
error_message | When an error occurs, the error message is stored. |
|
error_trace | When an error occurs, the error's trace information is stored. |
|
Exception name | Cause | Solution |
---|---|---|
InvalidPropertyConfigurationException | [Launch command] is not specified. | Specify [Launch command]. |
LaunchException | The return value of the command is not 0. | Check the contents of the launched command. |
LaunchTimeoutException | Command execution was not completed within [Timeout]. | Check [Timeout]. |
java.io.IOException | Failed to launch the command. | Check [Launch command]. |