Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Input the name on the script canvas. |
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Launch command | Required | Available | Input the command (program) to launch.
Click [Browse] button to activate the file Selectr and Select the file. Example: To launch Internet Explorer C:\Program Files\Internet Explorer\iexplore.exe |
|
Launch arguments | Optional | - | Specify the argument to pass to the command.
Can be operated with the following buttons.
|
|
Launch arguments / Arguments | Optional | Available | Specify the argument to pass to the command.
Specify absolute path("C:\Progra~1\Data~") or relative path from /bin of DataSpiderServer("..\home\root\~") for the file path in command description. Example: To delete C:\test.csv [Launch command]:cmd.exe [Arguments]: /C [Arguments]: del [Arguments]: C:\test.csv |
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Working directory | Optional | Available | Enter the working directory of the command.
Click [Browse] button to activate the file Selectr and Select the directory. When use a relative path in the command , working directory will be the relative path. |
|
Wait until the end of the external applications | Optional | Not available | Select whether to wait until the end of the specified command.
|
|
Assume error if return code is not 0 | Optional | Not available | Select whether it is an error if the return value is not 0.
|
|
Obtain stdout and stderr | Optional | Not available | Select whether to obtain stdout and stderr output by the specified command and set them to the component variables of this operation.
|
|
Timeout | Optional | Available | Specify timeout in millisecond. This operation waits for completion of the specified command until the timeout. |
|
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 | Returns the return value of command. |
|
stdout | Stdout of the command is stored. |
|
stderr | Stderr of the command is stored. |
|
message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
message_code | Stores its corresponding message code of occured error. |
|
message_level | Stores the severity of the corresponding message code of the occured error. |
|
error_type | Stores the type of the occured error. |
|
error_message | Stores the error message for the occured error. |
|
error_trace | Stores stack trace of the occurred error. |
|
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 | The command was not completed within [Timeout]. | Check [Timeout]. |
java.io.IOException | Command failed to start. | Check [Launch command]. |