Task runner that executes a task as a subprocess on the Kestra host.

To access the task's working directory, use the {{workingDir}} Pebble expression or the WORKING_DIR environment variable. Input files and namespace files will be available in this directory.

To generate output files you can either use the outputFiles task's property and create a file with the same name in the task's working directory, or create any file in the output directory which can be accessed by the {{outputDir}} Pebble expression or the OUTPUT_DIR environment variables.

Note that:

  • This task runner is independent of any Operating System. You can use it equally on Linux, Mac or Windows without any additional configuration.
  • When the Kestra Worker running this task is shut down, the process will be interrupted and re-created as soon as the worker is restarted.
yaml
type: "io.kestra.plugin.core.runner.Process"