Link Search Menu Expand Document

cwd

The cwd field determines what path the program should use as its “current working directory”.

Summary

FIELD       cwd
PATH        program[N].cwd
PARENT      program
TYPE        String
DEFAULT     ""

Example

[[program]]
  binary = "/usr/bin/path"
  args = "-jar myapp.jar"
  env = ["HOME=/", "USER=root"]
  stdout = "/dev/vtty"
  stderr = "/dev/vtty"
  bootstrap = ["SLEEP 3000"]
  cwd = "/"

CLI Flag

--program[0].cwd="/"

Copyright © 2020 Vorteil.io. Support website for Vorteil.io