Skip to main content

run_extractor

Function run_extractor 

Source
pub fn run_extractor(
    config: &ExtractorConfig,
    project_root: &ProjectRoot,
) -> Result<ExtractorResult, AqlError>
Expand description

Run a single extractor as a subprocess and parse its JSON output.

The extractor command is executed via sh -c with the project root as the working directory. Stdout must be valid JSON matching the extractor output schema. Stderr is captured but ignored on success.