Skip to main content

binary_help

Function binary_help 

Source
fn binary_help(binary: &Path) -> String
Expand description

Capture the scheduler binary’s --help text (stdout+stderr) so we can probe which optional flags it supports before launching it. Passing an unknown argument makes the scheduler exit before attaching, so flags that are not universal must be gated on this. Empty string on any failure.