Date: Mon, 16 Dec 2024 12:42:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283170] jexec(8): add -w parameter to change the working directory inside the jail Message-ID: <bug-283170-227-VrXXReSfqc@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-283170-227@https.bugs.freebsd.org/bugzilla/> References: <bug-283170-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283170 --- 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 t= he cost of installing a package. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283170-227-VrXXReSfqc>