Expand description
bigbro is a crate that enables running external commands and tracking their use of the filesystem. It currently only works under linux.
§Example
let status = bigbro::Command::new("cargo")
.args(&["--version"])
.status().unwrap();
for f in status.read_from_files() {
println!("read file: {}", f.to_string_lossy());
}
Structs§
- Child
- A currently running (or possibly already completed) child process.
- Command
- A process builder, providing fine-grained control over how a new process should be spawned.
- Killer
- A currently running (or possibly already completed) child process.
- Status
- The result of running a command using bigbro.
- Stdio
- A description of what you want done with one of the standard streams.
Constants§
- TRACKS_
CHANGES - A boolean to identify whether bigbro is actually able to track filesystem accesses. On platforms where it cannot track changes, it will still enable you to use its API to execute programs.