Crate exec [] [src]

A simple wrapper around the C library's execvp function.

For examples, see the repository.

We'd love to fully integrate this with std::process::Command, but that module doesn't export sufficient hooks to allow us to add a new way to execute a program.

Structs

Command

Build a command to execute. This has an API which is deliberately similar to std::process::Command.

Enums

Error

Represents an error calling exec.

Functions

execvp

Run program with args, completely replacing the currently running program. If it returns at all, it always returns an error.