Available on: >= 0.16.0

Run tasks as local processes.

Here is an example of a Shell script configured with the ProcessTaskRunner which runs a Shell command as a child process in the Kestra host:

yaml
id: process_script_runner
namespace: myteam

tasks:
  - id: shell
    type: io.kestra.plugin.scripts.shell.Commands
    taskRunner:
      type: io.kestra.core.models.tasks.runners.types.ProcessTaskRunner
    commands:
      - echo "Hello World!"

The ProcessTaskRunner doesnโ€™t have any additional configuration beyond the type property.

Was this page helpful?