[Bug 283170] jexec(8): add -w parameter to change the working directory inside the jail

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 Dec 2024 12:42:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283170

--- Comment #2 from crest@rlwinm.de ---
This feature is especially useful if you don't want to go through a shell
because it saves the complexity and overhead of something as like `jexec --
"$jail" "sh -c 'cd \"$1\" && shift && exec \"$@\"' "$dir" "$@"`. Btw the
lang/execline port contains an cd executable that supports chainloading e.g.
`execline-cd "$dir" "$@"`. Which at least avoids half of the annoyance at the
cost of installing a package.

-- 
You are receiving this mail because:
You are the assignee for the bug.