# Execute a process

## ![](/files/uEDjZgVlcLOhfoB5dBoU) Execute a process

### Description <a href="#description" id="description"></a>

The Execute A Process transform executes a shell script (on the host that runs the pipeline).

The transform is similar to the [Shell](/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/shell.md) workflow action, but can be used in a pipeline to execute for every row.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | ?            |
| Flink      | ?            |
| Dataflow   | ?            |

### Options

| Option                | Description                                                                                                                                                                                                                                                 |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transform name        | Name of the transform; this name has to be unique in a single pipeline                                                                                                                                                                                      |
| Process field         | The field name in the data stream that defines the process to start (shell script / batch file to start). Arguments can also be used.                                                                                                                       |
| Fail if not success   | Checking this option means if the exit status is different than zero the transform fails. You can use error handling to get these rows.                                                                                                                     |
| Output line delimiter | Without defining a line delimiter, all returned lines are collapsed into a single string with no line delimiters. You can set to any line delimiter and special characters can be set with the format $\[value], e.g. $\[0D] for CR or $\[0D,0A] for CR/LF. |
| Result fieldname      | Specify here the name of the result fieldname (STRING) added to the output stream of the pipeline. This field is populated by the output stream (stdout) of the process.                                                                                    |
| Error fieldname       | Specify here the name of the error fieldname (STRING) added to the output stream of the pipeline. This field is filled by the error stream (stderr) of the process.                                                                                         |
| Exit value            | Specify here the name of the exit fieldname (INTEGER) added to the output stream of the pipeline. This field is filled by the exit output of the process.                                                                                                   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/execprocess.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
