Skip to main content

Module exec

Module exec 

Source
Expand description

Hand off execution to a discovered plugin binary.

On Unix the dispatcher uses execvp-style replacement so the plugin inherits the dispatcher’s PID — cleaner signal handling, matches cargo. On Windows there is no execvp; we spawn the plugin as a child via Command::status() and propagate its exit code.

Functions§

dispatch_to_plugin
Dispatch into entry with args, exporting the env contract.