.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "SYD-ENV" "1" "2025-02-14" .PP .SH NAME .PP syd-env - run a command with the environment of the process with the given PID .PP .SH SYNOPSIS .PP \fBsyd-env\fR pid [-i] [name=value].\&.\&.\& {command [arg.\&.\&.\&]} .PP \fBsyd-env\fR -e .PP .SH DESCRIPTION .PP \fBsyd-env\fR utility runs a command with the environment of the process with the given PID.\& It is similar to the \fIenv\fR(1) utility except it allows picking the environment of an arbitrary process.\& .PP Given "-e" with a string argument, \fBsyd-env\fR performs environment expansion and command substitution using \fIwordexp\fR(3).\& .PP .SH SECURITY .PP \fIwordexp\fR(3) child process is executed in a confined environment with a timeout of 3 seconds.\& Confinement is done using Landlock, namespaces and seccomp.\& .PP .SH SEE ALSO .PP \fIsyd\fR(1), \fIsyd\fR(2), \fIsyd\fR(5), \fIenv\fR(1), \fIwordexp\fR(3) .PP \fBsyd\fR homepage: https://sydbox.\&exherbolinux.\&org/ .PP .SH AUTHORS .PP Maintained by Ali Polatel.\& Up-to-date sources can be found at https://gitlab.\&exherbo.\&org/sydbox/sydbox.\&git and bugs/patches can be submitted to https://gitlab.\&exherbo.\&org/groups/sydbox/-/issues.\& Discuss in #sydbox on Libera Chat.\&