run subprocesses in /tmp to avoid cwd pollution

Commands like ckb-next-dev-detect write side-effect files (reports,
tarballs) into the working directory when invoked with --help. Chdir
to /tmp around create_process_env so these don't land in the project
tree.
This commit is contained in:
atagen 2026-03-23 02:20:27 +11:00
parent 1d0d3465c1
commit 3080a5f64d
2 changed files with 6 additions and 0 deletions

View file

@ -15,6 +15,7 @@ depends: [
"angstrom"
"angstrom-unix"
"camlzip"
"sqlite3"
"ppx_inline_test" {with-test}
"odoc" {with-doc}
]