Stream handling
Handling standard out and standard error streams for the external application is configured under the Stream handling tab, shown in figure 15.13.
Figure 15.13: The handling of standard out and standard error is configured under the Stream handling tab.
The contents of standard out can be ignored or imported into the CLC Server using a standard importer. For applications where standard out contains the main result, choosing an appropriate importer would generally make sense. It can also be useful to import information sent to standard out for debugging purposes. In the File name field, the name of the raw file used to temporarily store the output from standard out must be specified.
By default, if information is sent to standard error by an application, the tool is stopped and the information is reported to the end user. The contents of standard error can instead be imported into the CLC Server by selecting the option Do not stop execution or show error dialogs. If the contents of standard error are imported, the File name must be specified in the same way as for standard out.
The names entered into the File name fields for standard out and standard error handling are visible to end-users, without a file extension, in the following places:
- This name is given to the data element imported into the CLC Server.
- This name is used as the label for the output channel of the workflow element corresponding to the external application.
- This name is the default name for output elements connected to the relevant workflow output channels.