ShellExecute is a system activity that allows to parameterize a program and call it, to run it inside of a process on the server.
The following functions are currently available:
Functions |
Description |
|---|---|
Execute shell command |
This function can be used to execute command line commands. Program path and parameters can be specified.. |
You can alter the following properties for these functions:
Setting |
Description |
|---|---|
Fixed subtable |
If you select a fixed subtable of the process, it will be processed by line. |
You can set the following input parameters for the function:
Input Parameters |
Description |
|---|---|
Program path |
Enter the complete path to the file you want to execute. Note: The program path has to be on the server JobRouter is installed on. |
Parameters |
Transfer the execution parameters either from a process table field or a fixed value. |
Timeout in seconds |
Optional: Select how long (in seconds) the program is allowed to run. |
Ignore STDERR |
A checkbox can be activated using a fixed value to not treat the STDERR output as an error. You can also read the value from a table field. |
You can set the following output parameters:
Output parameters |
Description |
|---|---|
Return value |
•If successful, this field will stay empty, otherwise a -1 will be written. •You determine to where this message will be written. |
Error message |
Specify in which table field any error messages arising during the execution of the function should be saved. |
STDOUT |
Specify a table field for the standard output of the executed program. |
STDERROR |
Specify a table field for the error output of the executed program. |