Blueprints

Run a Shell script as a subprocess on the Kestra host

About this blueprint

CLI Task Runner

Here is an example of a Shell script configured with the Process task runner which runs a Shell command as a child process within the Kestra host.

The Process task runner doesn’t have any additional configuration beyond the type property.

yaml
id: process_script_runner
namespace: company.team

tasks:
  - id: shell
    type: io.kestra.plugin.scripts.shell.Commands
    taskRunner:
      type: io.kestra.plugin.core.runner.Process
    commands:
      - echo "Hello World!"

Commands

Process

More Related Blueprints

New to Kestra?

Use blueprints to kickstart your first workflows.

Get started with Kestra