Struct isolated::Command [−][src]
pub struct Command { /* fields omitted */ }
Expand description
Offers an API similar to std::process::Command
.
Implementations
Command path inside the isolated filesystem. Panics if path contains null bytes.
Allows disk writes to a temporary directory
Allows disk writes to a temporary directory
Hook is called just before pivot_root, after fork. If multiple hooks are registered, they will be called in order. If any hook returns an error, no more hooks will be called, and the process will not be started.
Hook is called just before exec, after fork and pivot_root. If multiple hooks are registered, they will be called in order. If any hook returns an error, no more hooks will be called, and the process will not be started.
Auto Trait Implementations
impl !RefUnwindSafe for Command
impl !UnwindSafe for Command