pub fn exec(
name: &str,
args: &[OsString],
cwd: Option<&Path>,
) -> Result<Infallible>Expand description
Find and execute a plugin binary, forwarding args and optionally setting
the working directory to cwd.
On Unix this replaces the current process via exec. On other platforms it
spawns the plugin and propagates the exit code.