Component Process Start
Description
Starts an external console process on the server. Parameters are passed in the body of the command line. The value returned by the process from the console can be captured and returned to a variable.
The operation must be pre-permitted and configured in the assert file permissions.json on each server where the component can run.
Index |
|
Short title |
|
Types of scenarios |
|
Starter module |
|
Mode |
Asynchronous |
Icon |
![]() |
Branching pattern |
Branching, closing |
Properties
Specification | Description |
---|---|
Title: |
Waiting mode for OS process termination.
|
Title: |
File path or OS command. Command line prefix. Examples of specifying commands:
To resolve these examples, the 'permissions.json' file must have the following content: { "exec_perm": { "check": true, "user": "root", "commands": [ "echo", "myprogram1", "/bin/myprogram2", ":GLOBALSHARE/common/cmd/myprogram3", ":SYNC/common/cmd/myscript.sh" ] } } Using bash scripts you can run any commands, permission is only checked on the path to the starting bash script. |
Title: |
Command postfix containing parameters. |
Title: |
Waiting timeout for the process to complete. |
Title: |
A component to which control is passed after an asynchronous startup, or after a successful completion of a process. |
Title: |
Variable to save the console output of a completed process. |
Title: |
Component to which control is passed in case of a startup error or process crash. |
Title: |
Variable to save the error. |
Title: |
The component to which control is passed after the process completion wait time has elapsed. |
See also
-
role svc
-
Asset permissions.json