Struct isolated::Process [−][src]
pub struct Process { /* fields omitted */ }
Expand description
Offers an API similar to std::process::Child
.
When dropping, attempts termination and cleanup.
Implementations
Spawns a new process from path
with args
.
layers
specify overlayfs layers from outermost to innermost,
usually [rootfs, appdir]
where rootfs contains a linux root
file system like Alpine minirootfs, and appdir
is the directory
where the application binary is located. All of the layers are
overlayed on the root of the container file system.
writedir
is a directory containing modifications to the file system
done by the application. If it is None
, then a temporary directory
is used instead.
pre_exec
, if given, is a closure to be execute after for
TODO: Document restrictions
Wait until the process completes, and return it’s status.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Process
impl UnwindSafe for Process